Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



block_editor_preload_paths ›

Seit5.0.0
Veraltetn/v
apply_filters( 'block_editor_preload_paths', $preload_paths, $post )
Parameter: (2)
  • (array) $preload_paths Array of paths to preload.
    Erforderlich: Ja
  • (object) $post The post resource data.
    Erforderlich: Ja
Definiert in:
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.





Quellcode

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