[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

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

BuddyPress Admin Settings.

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

Defines 21 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_xprofile_section()
  bp_admin_setting_callback_profile_sync()
  bp_admin_setting_callback_avatar_uploads()
  bp_admin_setting_callback_cover_image_uploads()
  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.

param: bool $value Whether or not to sanitize.
return: bool
since: 1.6.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_avatar_uploads()   X-Ref
Allow members to upload avatars field.

since: 1.6.0

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

since: 2.4.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

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



Generated: Wed Oct 23 01:01:50 2019 Cross-referenced by PHPXref 0.7.1