[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

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

BuddyPress Core Loader. Core contains the commonly used functions, classes, and APIs.

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

Defines 1 class

BP_Core:: (9 methods):
  __construct()
  __get()
  bootstrap()
  includes()
  setup_globals()
  setup_cache_groups()
  register_post_types()
  rest_api_init()
  blocks_init()


Class: BP_Core  - X-Ref

Creates the Core component.

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

since: 1.5.0

__get( $key = '' )   X-Ref
Magic getter.

This exists specifically for supporting deprecated object vars.

return: mixed
param: string $key
since: 7.0.0

bootstrap()   X-Ref
Populate the global data needed before BuddyPress can continue.

This involves figuring out the currently required, activated, deactivated,
and optional components.

since: 1.5.0

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

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

setup_globals( $args = array()   X-Ref
Set up bp-core global settings.

Sets up a majority of the BuddyPress globals that require a minimal
amount of processing, meaning they cannot be set in the BuddyPress class.

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

setup_cache_groups()   X-Ref
Setup cache groups

since: 2.2.0

register_post_types()   X-Ref
Set up post types.

since: BuddyPress (2.4.0)

rest_api_init( $controllers = array()   X-Ref
Init the Core controllers of the BP REST API.

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

blocks_init( $blocks = array()   X-Ref
Register the BP Core 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