wpseek.com
A WordPress-centric search engine for devs and theme authors



block_editor_rest_api_preload_paths › WordPress Filter Hooks

Since5.8.0
Deprecatedn/a
apply_filters( 'block_editor_rest_api_preload_paths', $preload_paths, $block_editor_context )
Parameters:
  • (string[]) $preload_paths Array of paths to preload.
    Required: Yes
Defined at:
Codex:

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





Source

$preload_paths = apply_filters( 'block_editor_rest_api_preload_paths', $preload_paths, $block_editor_context );