bp_admin_setting_callback_nickname_hide_first_name()
If ‘Nickname’ selected then add options to hide First Name.
Description
Source
File: bp-core/admin/bp-core-admin-settings.php
function bp_admin_setting_callback_nickname_hide_first_name() { ?> <div class="bb-nickname-hide-first-name"> <input id="bp-hide-nickname-first-name" name="bp-hide-nickname-first-name" type="checkbox" value="1" <?php checked( bp_hide_nickname_first_name( true ) ); ?> /> <label for="bp-hide-nickname-first-name"><?php _e( 'First Name', 'buddyboss' ); ?> <span class="description"><?php _e( '(can be disabled)', 'buddyboss' ); ?></label> </div> <?php }
Changelog
Version | Description |
---|---|
BuddyBoss 1.1.1 | 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.