[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/src/bp-core/admin/ -> bp-core-admin-settings.php (summary)

BuddyPress Admin Settings.

File Size: 445 lines (15 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 24 functions

  bp_admin_setting_callback_main_section()
  bp_admin_setting_callback_admin_bar()
  bp_admin_setting_callback_account_deletion()
  bp_admin_setting_callback_theme_package_id()
  bp_admin_setting_callback_activity_section()
  bp_admin_setting_callback_activity_akismet()
  bp_admin_setting_callback_blogforum_comments()
  bp_admin_setting_callback_heartbeat()
  bp_admin_sanitize_callback_blogforum_comments()
  bp_admin_setting_callback_members_section()
  bp_admin_setting_callback_avatar_uploads()
  bp_admin_setting_callback_cover_image_uploads()
  bp_admin_setting_callback_members_invitations()
  bp_admin_setting_callback_membership_requests()
  bp_admin_setting_callback_xprofile_section()
  bp_admin_setting_callback_profile_sync()
  bp_admin_setting_callback_groups_section()
  bp_admin_setting_callback_group_creation()
  bp_admin_setting_callback_group_avatar_uploads()
  bp_admin_setting_callback_group_cover_image_uploads()
  bp_core_admin_settings()
  bp_core_admin_settings_save()
  bp_form_option()
  bp_get_form_option()

Functions
Functions that are not part of a class:

bp_admin_setting_callback_main_section()   X-Ref
Main settings section description for the settings page.

since: 1.6.0

bp_admin_setting_callback_admin_bar()   X-Ref
Admin bar for logged out users setting field.

since: 1.6.0

bp_admin_setting_callback_account_deletion()   X-Ref
Allow members to delete their accounts setting field.

since: 1.6.0

bp_admin_setting_callback_theme_package_id()   X-Ref
Form element to change the active template pack.


bp_admin_setting_callback_activity_section()   X-Ref
Groups settings section description for the settings page.

since: 1.6.0

bp_admin_setting_callback_activity_akismet()   X-Ref
Allow Akismet setting field.

since: 1.6.0

bp_admin_setting_callback_blogforum_comments()   X-Ref
Allow activity comments on posts and comments.

since: 1.6.0

bp_admin_setting_callback_heartbeat()   X-Ref
Allow Heartbeat to refresh activity stream.

since: 2.0.0

bp_admin_sanitize_callback_blogforum_comments( $value = false )   X-Ref
Sanitization for bp-disable-blogforum-comments setting.

In the UI, a checkbox asks whether you'd like to *enable* post/comment activity comments. For
legacy reasons, the option that we store is 1 if these comments are *disabled*. So we use this
function to flip the boolean before saving the intval.

return: bool
param: bool $value Whether or not to sanitize.
since: 1.6.0

bp_admin_setting_callback_members_section()   X-Ref
Profile settings section description for the settings page.

since: 1.6.0

bp_admin_setting_callback_avatar_uploads()   X-Ref
Allow members to upload avatars field.

since: 1.6.0
since: 6.0.0 Setting has been moved into the Members section.

bp_admin_setting_callback_cover_image_uploads()   X-Ref
Allow members to upload cover images field.

since: 2.4.0
since: 6.0.0 Setting has been moved into the Members section.

bp_admin_setting_callback_members_invitations()   X-Ref
Allow members to invite non-members to the network.

since: 8.0.0

bp_admin_setting_callback_membership_requests()   X-Ref
Allow new users to request membership to the network.

since: 10.0.0

bp_admin_setting_callback_xprofile_section()   X-Ref
Profile settings section description for the settings page.

since: 1.6.0

bp_admin_setting_callback_profile_sync()   X-Ref
Enable BP->WP profile syncing field.

since: 1.6.0

bp_admin_setting_callback_groups_section()   X-Ref
Groups settings section description for the settings page.

since: 1.6.0

bp_admin_setting_callback_group_creation()   X-Ref
Allow all users to create groups field.

since: 1.6.0

bp_admin_setting_callback_group_avatar_uploads()   X-Ref
'Enable group avatars' field markup.

since: 2.3.0

bp_admin_setting_callback_group_cover_image_uploads()   X-Ref
'Enable group cover images' field markup.

since: 2.4.0

bp_core_admin_settings()   X-Ref
The main settings page

since: 1.6.0

bp_core_admin_settings_save()   X-Ref
Save our settings.

since: 1.6.0

bp_form_option( $option, $default = '' , $slug = false )   X-Ref
Output settings API option.

param: string $option  Form option to echo.
param: string $default Form option default.
param: bool   $slug    Form option slug.
since: 1.6.0

bp_get_form_option( $option, $default = '', $slug = false )   X-Ref
Return settings API option

return: string
param: string $option  Form option to return.
param: string $default Form option default.
param: bool   $slug    Form option slug.
since: 1.6.0



Generated: Thu Nov 21 01:00:57 2024 Cross-referenced by PHPXref 0.7.1