block_editor_preload_paths
block_editor_preload_paths
Appears in: gutenberg.4.2.0, gutenberg.4.3.0, gutenberg.4.4.0, gutenberg.4.5.0, gutenberg.4.5.1, gutenberg.4.6.0, gutenberg.4.6.1, gutenberg.4.7.0, gutenberg.4.7.1, gutenberg.4.8.0, gutenberg.4.9.0, gutenberg.5.0.0, gutenberg.5.1.1, gutenberg.5.2.0, gutenberg.5.3.0, wordpress-5.0, wordpress-5.0.1, wordpress-5.0.2, wordpress-5.0.3, wordpress-5.1, wordpress-5.1.1, wordpress-5.2, wordpress-5.2.1, wordpress-5.2.2, wordpress-5.2.3, wordpress-5.2.4, wordpress-5.3, wordpress-5.3.1, wordpress-5.3.2, wordpress-5.4, wordpress-5.4.1, wordpress-5.4.2, wordpress-5.5, wordpress-5.5.1, wordpress-5.5.2, wordpress-5.5.3, wordpress-5.6, wordpress-5.6.1, wordpress-5.6.2, wordpress-5.7, wordpress-5.7.1, wordpress-5.7.2
Hook Type: filter
See hook in action
Displaying hooks found in version: wordpress-5.7.2apply_filters('block_editor_preload_paths') is found 1 times:
- /wp-admin/edit-form-blocks.php line 706667686970717273747576
*
* @param string[]
$preload_paths
Array of paths to preload.
* @param WP_Post
$post
Post being edited.
*/
$preload_paths
= apply_filters(
'block_editor_preload_paths'
,
$preload_paths
,
$post
);
/*
* Ensure the global $post remains the same after API data is preloaded.
* Because API preloading can call the_content and other filters, plugins
* can unexpectedly modify $post.
*/