A WordPress-centric search engine for devs and theme authors



pre_wp_is_site_initialized ›

Since5.0.0
Deprecatedn/a
apply_filters( 'pre_wp_is_site_initialized', null, $site_id )
Parameters: (2)
  • (bool|null) $pre The value to return, if not null.
    Required: Yes
  • (int) $site_id The site ID that is being checked.
    Required: Yes
Defined at:
Codex:

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.





Source

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