[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

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

BuddyPress Member Notifications Loader. Initializes the Notifications component.

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

Defines 1 class

BP_Notifications_Component:: (9 methods):
  __construct()
  includes()
  late_includes()
  setup_globals()
  setup_nav()
  setup_admin_bar()
  setup_title()
  setup_cache_groups()
  rest_api_init()


Class: BP_Notifications_Component  - X-Ref

Extends the component class to set up the Notifications component.

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

since: 1.9.0

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

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

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

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

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

setup_title()   X-Ref
Set up the title for pages and <title>.

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



Generated: Sun Nov 24 01:00:53 2024 Cross-referenced by PHPXref 0.7.1