[ Index ] |
PHP Cross Reference of BuddyPress |
[Source view] [Print] [Project Stats]
Core BP Blocks functions.
File Size: | 414 lines (10 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
bp_support_blocks() X-Ref |
BuddyPress blocks require the BP REST API. since: 6.0.0 return: bool True if the current installation supports BP Blocks. |
bp_register_block_components() X-Ref |
Registers the BP Block components. since: 6.0.0 since: 9.0.0 Adds a dependency to `wp-server-side-render` if WP >= 5.3. |
bp_register_block_assets() X-Ref |
Registers the BP Block Assets. since: 9.0.0 |
bp_blocks_editor_settings( $editor_settings = array() X-Ref |
Filters the Block Editor settings to gather BuddyPress ones into a `bp` key. param: array $editor_settings Default editor settings. since: 6.0.0 return: array The editor settings including BP blocks specific ones. |
bp_block_init_editor_settings_filter() X-Ref |
Select the right `block_editor_settings` filter according to WP version. since: 8.0.0 |
bp_blocks_preload_paths( $paths = array() X-Ref |
Preload the Active BuddyPress Components. param: string[] $paths The Block Editors preload paths. since: 9.0.0 return: string[] The Block Editors preload paths. |
bp_register_block( $args = array() X-Ref |
Register a BuddyPress block type. param: array $args The registration arguments for the block type. since: 6.0.0 return: BP_Block The BuddyPress block type object. |
bp_blocks_get_widget_block_classnames( $block_name = '' ) X-Ref |
Gets a Widget Block list of classnames. param: string $block_name The Block name. since: 9.0.0 return: array The list of widget classnames for the Block. |
bp_widget_block_dynamic_classname( $classname, $block_name ) X-Ref |
Make sure the BP Widget Block classnames are included into Widget Blocks. param: string $classname The classname to be used in the block widget's container HTML. param: string $block_name The name of the block. since: 9.0.0 return: string The classname to be used in the block widget's container HTML. |
bp_blocks_get_login_widget_registration_link( $content = '', $args = array() X-Ref |
Create a link to the registration form for use on the bottom of the login form widget. param: string $content Content to display. Default empty. param: array $args Array of login form arguments. since: 9.0.0 return: string HTML output. |
bp_block_render_login_form_block( $attributes = array() X-Ref |
Callback function to render the BP Login Form. param: array $attributes The block attributes. since: 9.0.0 return: string HTML output. |
Generated: Sun Dec 22 01:00:54 2024 | Cross-referenced by PHPXref 0.7.1 |