BP_Admin_Setting_Friends::register_fields()
Description
Source
File: bp-core/admin/settings/bp-admin-setting-friends.php
public function register_fields() { $this->add_section( 'bp_friends', __( 'Connection Settings', 'buddyboss' ) ); if ( bp_is_active( 'messages' ) ) { $this->add_field( 'bp-force-friendship-to-message', __( 'Messaging', 'buddyboss' ), [$this, 'bp_admin_setting_callback_force_friendship_to_message'], [$this, 'bp_admin_sanitize_callback_force_friendship_to_message'] ); } // Connection Settings tutorial $this->add_field( 'bp-connection-settings-tutorial','', [$this, 'bp_connection_settings_tutorial'] ); }
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.