This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
BP_XProfile_Field::default_field_hidden_inputs()
Output hidden fields used by default field.
Description
Return
(void) If not default field.
Source
File: bp-xprofile/classes/class-bp-xprofile-field.php
1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 | private function default_field_hidden_inputs() { // Nonce wp_nonce_field( 'bp_xprofile_admin_field' , 'bp_xprofile_admin_field' ); // Field 1 is the fullname field, which cannot have custom visibility. if ( false === $this ->is_default_field() ) { return ; } ?> <input type= "hidden" name= "required" id= "required" value= "1" /> <input type= "hidden" name= "fieldtype" id= "fieldtype" value= "textbox" /> <?php } |
Changelog
Version | Description |
---|---|
BuddyPress 2.3.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.