WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about block_editor_rest_api_preload_paths

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/block-editor.php apply_filters 588 /**
* 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[] $preload_paths Array of paths to preload.
* @param WP_Block_Editor_Context $block_editor_context The current block editor context.
*/

Hook Parameters

Parameter Type Name Description
string[] $preload_paths Array of paths to preload.
WP_Block_Editor_Context $block_editor_context The current block editor context.