[ Index ]

PHP Cross Reference of BuddyPress




/src/bp-core/ -> bp-core-blocks.php (summary)

Core BP Blocks functions.

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

Defines 4 functions


Functions that are not part of a class:

bp_support_blocks()   X-Ref
BuddyPress blocks require WordPress >= 5.0.0 & the BP REST API.

return: bool True if the current installation supports BP Blocks.
since: 6.0.0

bp_register_block_components()   X-Ref
Registers the BP Block components.

since: 6.0.0

bp_blocks_editor_settings( $editor_settings = array()   X-Ref
Filters the Block Editor settings to gather BuddyPress ones into a `bp` key.

return: array The editor settings including BP blocks specific ones.
since: 6.0.0
param: array $editor_settings Default editor settings.

bp_register_block( $args = array()   X-Ref
Register a BuddyPress block type.

return: BP_Block   The BuddyPress block type object.
since: 6.0.0
param: array $args The registration arguments for the block type.

Generated: Sat Nov 28 01:01:39 2020 Cross-referenced by PHPXref 0.7.1