WordPress at a glance
filter is not described

block_editor_preload_paths filter-hook . WP 5.0.0

Preload common data by specifying an array of REST API paths that will be preloaded.

Filters the array of paths that will be preloaded.


add_filter( 'block_editor_preload_paths', 'filter_function_name_734', 10, 2 );
function filter_function_name_734( $preload_paths, $post ){
	// filter...

	return $preload_paths;
Array of paths to preload.
The post resource data.


Since 5.0.0 Introduced.

Where the hook is called

In file: /wp-admin/edit-form-blocks.php
wp-admin/edit-form-blocks.php 64
$preload_paths = apply_filters( 'block_editor_preload_paths', $preload_paths, $post );

Where the hook is used (in WP core)

Usage not found!