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



block_editor_preload_paths › WordPress Filter Hooks

Da5.0.0
DeprecatoUse the {@see 'block_editor_rest_api_preload_paths'} filter instead.
› $preload_paths = apply_filters_deprecated( 'block_editor_preload_paths', array( $preload_paths, $selected_post ), '5.8.0', 'block_editor_rest_api_preload_paths' );
Parametri: (2)
  • () preload_paths Array of paths to preload.
    Richiesto: Sì
  • () selected_post Post being edited.
    Richiesto: Sì
Definito a:
Codex:

Filters the array of paths that will be preloaded.

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




Sorgenti

$preload_paths = apply_filters_deprecated( 'block_editor_preload_paths', array( $preload_paths, $selected_post ), '5.8.0', 'block_editor_rest_api_preload_paths' );