WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about block_editor_preload_paths

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/block-editor.php apply_filters_deprecated 604 /**
* Filters the array of paths that will be preloaded.
*
* Preload common data by specifying an array of REST API paths that will be preloaded.
*
* @since 5.0.0
* @deprecated 5.8.0 Use the {@see 'block_editor_rest_api_preload_paths'} filter instead.
*
* @param string[] $preload_paths Array of paths to preload.
* @param WP_Post $selected_post Post being edited.
*/

Hook Parameters

Parameter Type Name Description
string[] $preload_paths Array of paths to preload.
WP_Post $selected_post Post being edited.