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_398', 10, 2 );
function filter_function_name_398( $preload_paths, $post ){
	// filter...

	return $preload_paths;
Array of paths to preload.
Post being edited.


Since 5.0.0 Introduced.

Where the hook is called

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

Where in WP core the hook is used WordPress

Usage not found.