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.

Usage

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

	return $preload_paths;
}
$preload_paths(string[])
Array of paths to preload.
$post(WP_Post)
Post being edited.

Список изменений

С версии 5.0.0 Введена.

Где вызывается хук

В файле: /wp-admin/edit-form-blocks.php
block_editor_preload_paths
wp-admin/edit-form-blocks.php 65
$preload_paths = apply_filters( 'block_editor_preload_paths', $preload_paths, $post );

Где используется хук в ядре WordPress

Использование не найдено.