[ Index ]

PHP Cross Reference of BuddyPress




/src/bp-groups/classes/ -> class-bp-groups-component.php (summary)

BuddyPress Groups Component Class.

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

Defines 1 class

BP_Groups_Component:: (12 methods):

Class: BP_Groups_Component  - X-Ref

Creates our Groups component.

__construct()   X-Ref
Start the groups component creation process.

since: 1.5.0

includes( $includes = array()   X-Ref
Include Groups component files.

param: array $includes See BP_Component::includes() for a description.
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_globals( $args = array()   X-Ref
Set up component global data.

The BP_GROUPS_SLUG constant is deprecated, and only used here for
backwards compatibility.

param: array $args See BP_Component::setup_globals() for a description.
since: 1.5.0

setup_canonical_stack()   X-Ref
Set up canonical stack for this component.

since: 2.1.0

setup_nav( $main_nav = array()   X-Ref
Set up component navigation.

param: array $main_nav Optional. See BP_Component::setup_nav() for description.
param: array $sub_nav  Optional. See BP_Component::setup_nav() for description.
since: 1.5.0

setup_admin_bar( $wp_admin_nav = array()   X-Ref
Set up the component entries in the WordPress Admin Bar.

param: array $wp_admin_nav See BP_Component::setup_admin_bar() for a description.
since: 1.5.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

register_taxonomies()   X-Ref
Set up taxonomies.

since: 2.6.0
since: 7.0.0 The Group Type taxonomy is registered using the `bp_groups_register_group_type_taxonomy()` function.

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 Group Cover REST endpoint.

blocks_init( $blocks = array()   X-Ref
Register the BP Groups Blocks.

param: array $blocks Optional. See BP_Component::blocks_init() for
since: 6.0.0

Generated: Sat Sep 26 01:01:31 2020 Cross-referenced by PHPXref 0.7.1