WordPress at Your Fingertips
filter is not described

block_editor_rest_api_preload_paths filter-hook . WP 5.8.0

Filters the array of REST API paths that will be used to preloaded common data for the block editor.

Usage

add_filter( 'block_editor_rest_api_preload_paths', 'filter_function_name_5526', 10, 2 );
function filter_function_name_5526( $preload_paths, $block_editor_context ){
	// filter...

	return $preload_paths;
}
$preload_paths(string[])
Array of paths to preload.
$block_editor_context
-

Changelog

Since 5.8.0 Introduced.

Where the hook is called

block_editor_rest_api_preload()
block_editor_rest_api_preload_paths
wp-includes/block-editor.php 412
$preload_paths = apply_filters( 'block_editor_rest_api_preload_paths', $preload_paths, $block_editor_context );

Where in WP core the hook is used WordPress

Usage not found.