[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

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

BuddyPress Messages Loader. A private messages component, for users to send messages to each other.

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

Defines 1 class

BP_Messages_Component:: (10 methods):
  __construct()
  includes()
  late_includes()
  setup_globals()
  setup_nav()
  setup_admin_bar()
  setup_title()
  setup_cache_groups()
  rest_api_init()
  blocks_init()


Class: BP_Messages_Component  - X-Ref

Implementation of BP_Component for the Messages component.

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

since: 1.5.0

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

param: array $includes See {BP_Component::includes()} for details.
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 globals for the Messages component.

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

param: array $args Not used.
since: 1.5.0

setup_nav( $main_nav = array()   X-Ref
Set up navigation for user pages.

param: array $main_nav See {BP_Component::setup_nav()} for details.
param: array $sub_nav  See {BP_Component::setup_nav()} for details.

setup_admin_bar( $wp_admin_nav = array()   X-Ref
Set up the Toolbar.

param: array $wp_admin_nav See {BP_Component::setup_admin_bar()} for details.

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


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

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

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



Generated: Thu Nov 21 01:00:57 2024 Cross-referenced by PHPXref 0.7.1