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)
  • () pre The value to return instead. Default null to continue with the check.
    Required: Yes
  • () site_id The site ID that is being checked.
    Required: Yes
定义在:
文档:

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.




源码

$pre = apply_filters( 'pre_wp_is_site_initialized', null, $site_id );