[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

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

BuddyPress Groups Component Class.

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

Defines 1 class

BP_Groups_Component:: (14 methods):
  __construct()
  includes()
  late_includes()
  setup_additional_globals()
  setup_globals()
  setup_canonical_stack()
  setup_nav()
  setup_admin_bar()
  setup_title()
  setup_cache_groups()
  register_taxonomies()
  rest_api_init()
  blocks_init()
  admin_directory_states()


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.

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

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 component global data.

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

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

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.

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

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

since: 1.5.0
param: array $wp_admin_nav See BP_Component::setup_admin_bar() for a description.

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.

since: 5.0.0
since: 6.0.0 Adds the Group Cover REST endpoint.
param: array $controllers Optional. See BP_Component::rest_api_init() for

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

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

admin_directory_states( $states = array()   X-Ref
Add the Groups directory states.

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



Generated: Tue Dec 3 01:00:55 2024 Cross-referenced by PHPXref 0.7.1