[ Index ]

PHP Cross Reference of BuddyPress




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

BuddyPress Friends Streams Loader. The friends component is for users to create relationships with each other.

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

Defines 1 class

BP_Friends_Component:: (10 methods):

Class: BP_Friends_Component  - X-Ref

Defines the BuddyPress Friends Component.

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

since: 1.5.0

includes( $includes = array()   X-Ref
Include bp-friends files.

since: 1.5.0
param: array $includes See {@link BP_Component::includes()}.

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 bp-friends global settings.

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

since: 1.5.0
param: array $args See {@link BP_Component::setup_globals()}.

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
param: array $sub_nav  Optional. See BP_Component::setup_nav() for

setup_admin_bar( $wp_admin_nav = array()   X-Ref
Set up bp-friends integration with the WordPress admin bar.

since: 1.5.0
param: array $wp_admin_nav See BP_Component::setup_admin_bar()

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.

since: 6.0.0
param: array $controllers Optional. See BP_Component::rest_api_init() for

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

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

Generated: Tue Mar 5 01:01:17 2024 Cross-referenced by PHPXref 0.7.1