wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



block_editor_rest_api_preload_paths › WordPress Filter Hooks

Da5.8.0
Deprecaton/a
› apply_filters( 'block_editor_rest_api_preload_paths', $preload_paths, $block_editor_context )
Parametri: (2)
  • () preload_paths Array of paths to preload.
    Richiesto: Sì
  • () block_editor_context The current block editor context.
    Richiesto: Sì
Definito a:
Codex:

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





Sorgenti

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