Description
Filters the array of REST API paths that will be used to preloaded common data for the block editor.
Occurrences
Filename | Line Number |
---|---|
wp-includes/block-editor.php | 703 |
Parameters
Type | Name | Description |
---|---|---|
(string|string[])[] | $preload_paths | Array of paths to preload. |
WP_Block_Editor_Context | $block_editor_context | The current block editor context. |
PHP Doc
/**
* Filters the array of REST API paths that will be used to preloaded common data for the block editor.
*
* @since 5.8.0
*
* @param (string|string[])[] $preload_paths Array of paths to preload.
* @param WP_Block_Editor_Context $block_editor_context The current block editor context.
*/