[ Index ] |
PHP Cross Reference of BuddyPress |
[Source view] [Print] [Project Stats]
BuddyPress Member Loader.
File Size: | 984 lines (29 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
BP_Members_Component:: (19 methods):
__construct()
includes()
late_includes()
setup_additional_globals()
setup_globals()
setup_canonical_stack()
get_avatar_cover_image_subnavs()
setup_nav()
setup_profile_nav()
setup_xprofile_nav()
get_avatar_cover_image_admin_navs()
get_members_invitations_admin_navs()
setup_admin_bar()
setup_xprofile_admin_nav()
setup_title()
setup_cache_groups()
rest_api_init()
blocks_init()
admin_directory_states()
Class: BP_Members_Component - X-Ref
Defines the BuddyPress Members Component.__construct() X-Ref |
Start the members component creation process. since: 1.5.0 |
includes( $includes = array() X-Ref |
Include bp-members files. param: array $includes See {@link BP_Component::includes()}. since: 1.5.0 |
late_includes() X-Ref |
Late includes method. Only load up certain code when on specific pages. since: 3.0.0 |
setup_additional_globals() X-Ref |
Set up additional globals for the component. since: 10.0.0 |
setup_globals( $args = array() X-Ref |
Set up bp-members global settings. The BP_MEMBERS_SLUG constant is deprecated, and only used here for backwards compatibility. param: array $args See {@link BP_Component::setup_globals()}. since: 1.5.0 |
setup_canonical_stack() X-Ref |
Set up canonical stack for this component. since: 2.1.0 |
get_avatar_cover_image_subnavs() X-Ref |
Get the Avatar and Cover image subnavs. return: array The Avatar and Cover image subnavs. since: 6.0.0 |
setup_nav( $main_nav = array() X-Ref |
Set up fall-back component navigation if XProfile is inactive. param: array $main_nav Optional. See BP_Component::setup_nav() for param: array $sub_nav Optional. See BP_Component::setup_nav() for since: 1.5.0 |
setup_profile_nav() X-Ref |
Set up a profile nav in case the xProfile component is not active and a front template is used. since: 2.6.0 |
setup_xprofile_nav() X-Ref |
Set up the xProfile nav. since: 6.0.0 |
get_avatar_cover_image_admin_navs( $admin_bar_menu_id = '' ) X-Ref |
Get the Avatar and Cover image admin navs. param: string $admin_bar_menu_id The Admin bar menu ID to attach sub items to. return: array The Avatar and Cover image admin navs. since: 6.0.0 |
get_members_invitations_admin_navs( $admin_bar_menu_id = '' ) X-Ref |
Get the members invitations admin bar navs. param: string $admin_bar_menu_id The Admin bar menu ID to attach sub items to. return: array The members invitations admin navs. since: 8.0.0 |
setup_admin_bar( $wp_admin_nav = array() X-Ref |
Set up the Admin Bar. param: array $wp_admin_nav Admin Bar items. since: 6.0.0 |
setup_xprofile_admin_nav( $wp_admin_nav ) X-Ref |
Adds "Profile > Change Avatar" & "Profile > Change Cover Image" subnav item under the "Profile" adminbar menu. param: array $wp_admin_nav The Profile adminbar nav array. return: array since: 6.0.0 |
setup_title() X-Ref |
Set up the title for pages and <title>. since: 1.5.0 |
setup_cache_groups() X-Ref |
Setup cache groups. since: 2.2.0 |
rest_api_init( $controllers = array() X-Ref |
Init the BP REST API. param: array $controllers Optional. See BP_Component::rest_api_init() for since: 5.0.0 since: 6.0.0 Adds the Member Cover and Signup REST endpoints. since: 9.0.0 Moves the `BP_REST_Components_Endpoint` controller in `BP_Core` component. |
blocks_init( $blocks = array() X-Ref |
Register the BP Members Blocks. param: array $blocks Optional. See BP_Component::blocks_init() for since: 6.0.0 |
admin_directory_states( $states = array() X-Ref |
Add the Members directory states. param: array $states Optional. See BP_Component::admin_directory_states() for description. param: WP_Post $post Optional. See BP_Component::admin_directory_states() for description. return: array See BP_Component::admin_directory_states() for description. since: 10.0.0 |
Generated: Sat Dec 7 01:00:57 2024 | Cross-referenced by PHPXref 0.7.1 |