wpseek.com
WordPress开发者和主题制作者的搜索引擎
pre_wp_is_site_initialized › WordPress过滤钩子
Since5.1.0
已弃用n/a
› apply_filters( 'pre_wp_is_site_initialized', null, $site_id )
| 参数: (2) |
|
| 定义在: |
|
| 文档: |
Filters the check for whether a site is initialized before the database is accessed.
Returning a non-null value will effectively short-circuit the function, returning that value instead.Related Functions: wp_is_site_initialized, is_serialized, register_initial_settings, wp_initialize_site, rest_is_field_included, wp_not_installed
Related Hooks: pre_get_main_site_id, pre_wp_filesize, wp_initialize_site, wp_sitemaps_init, wp_uninitialize_site