A WordPress-centric search engine for devs and theme authors



block_editor_preload_paths ›

Since5.0.0
Deprecatedn/a
apply_filters( 'block_editor_preload_paths', $preload_paths, $post )
Parameters: (2)
  • (array) $preload_paths Array of paths to preload.
    Required: Yes
  • (object) $post The post resource data.
    Required: Yes
Defined at:
Codex:

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

Filters the array of paths that will be preloaded.





Source

$preload_paths = apply_filters( 'block_editor_preload_paths', $preload_paths, $post );