Uma área de pesquisa sobre o WordPress para devs e autores do tema



block_editor_preload_paths ›

Desde5.0.0
Obsoleton/a
apply_filters( 'block_editor_preload_paths', $preload_paths, $post )
Parâmetros: (2)
  • (array) $preload_paths Array of paths to preload.
    Required: Yes
  • (object) $post The post resource data.
    Required: Yes
Definido em:
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.





Fonte

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