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



wp_options_connectors_wp_admin_preload_paths › WordPress Filter Hooks

Dan/a
Deprecaton/a
› apply_filters( 'wp_options_connectors_wp_admin_preload_paths', $preload_paths )
Parametri:
  • () preload_paths Paths to preload.
    Richiesto: Sì
Definito a:
Codex:

Filters the REST API paths preloaded for this page.

Each entry is either a string path (GET) or a `[ path, method ]` tuple. Pages that know which requests their JS will issue on mount can add them here so the responses are embedded in the initial HTML rather than fetched over the network after hydration.




Sorgenti

$preload_paths = apply_filters( 'wp_options_connectors_wp_admin_preload_paths', $preload_paths );