[ 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.

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_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.

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

admin_directory_states( $states = array()   X-Ref
Add the Groups 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.
since: 10.0.0
return: array          See BP_Component::admin_directory_states() for description.



Generated: Sun Dec 22 01:00:54 2024 Cross-referenced by PHPXref 0.7.1