WordPress at Your Fingertips
filter is not described

block_editor_preload_paths filter-hook . WP 5.0.0

Deprecated from version 5.8.0. It is no longer supported and can be removed in future releases. See block_editor_rest_api_preload_paths.

Deprecated: 5.8.0 Use the {@see 'block_editor_rest_api_preload_paths'} filter instead.

Filters the array of paths that will be preloaded.

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


add_filter( 'block_editor_preload_paths', 'filter_function_name_4908', 10, 3 );
function filter_function_name_4908( $preload_paths, $selected_post, $string ){
	// filter...

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


Since 5.0.0 Introduced.
Deprecated Since 5.8.0 Use the {@see 'block_editor_rest_api_preload_paths'} filter instead.

Where the hook is called

wp-includes/block-editor.php 427
$preload_paths = apply_filters_deprecated( 'block_editor_preload_paths', array( $preload_paths, $selected_post ), '5.8.0', 'block_editor_rest_api_preload_paths' );

Where in WP core the hook is used WordPress

Usage not found.