wpseek.com
WordPress开发者和主题制作者的搜索引擎
wp_options_connectors_wp_admin_preload_paths › WordPress过滤钩子
Sincen/a
已弃用n/a
› apply_filters( 'wp_options_connectors_wp_admin_preload_paths', $preload_paths )
| 参数: |
|
| 定义在: | |
| 文档: |
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.Related Functions: wp_options_connectors_wp_admin_preload_data, wp_options_connectors_wp_admin_render_page, wp_get_options_connectors_wp_admin_routes, wp_options_connectors_preload_data, wp_get_options_connectors_wp_admin_menu_items, wp_options_connectors_wp_admin_enqueue_scripts