block_editor_rest_api_preload_paths, $preload_paths, $block_editor_context
block_editor_rest_api_preload_paths, $preload_paths, $block_editor_context
Appears in: 7.0.3
Hook Type: filter
Displaying hooks found in version: 7.0.3apply_filters('block_editor_rest_api_preload_paths, $preload_paths, $block_editor_context') is found 1 times:
- /wp-includes/block-editor.php line 691
* * @param (string|string[])[] $preload_paths Array of paths to preload. * @param WP_Block_Editor_Context $block_editor_context The current block editor context. */ $preload_paths = apply_filters( 'block_editor_rest_api_preload_paths', $preload_paths, $block_editor_context ); if ( ! empty( $block_editor_context->post ) ) { $selected_post = $block_editor_context->post; /** * Filters the array of paths that will be preloaded.