WordPress开发者和主题制作者的搜索引擎



block_editor_preload_paths ›

Since5.0.0
已弃用n/a
apply_filters( 'block_editor_preload_paths', $preload_paths, $post )
参数: (2)
  • (array) $preload_paths Array of paths to preload.
    Required: Yes
  • (object) $post The post resource data.
    Required: Yes
定义在:
文档:

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

Filters the array of paths that will be preloaded.





源码

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