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



pre_wp_is_site_initialized › WordPress Filter Hooks

Da5.1.0
Deprecaton/a
apply_filters( 'pre_wp_is_site_initialized', null, $site_id )
Parametri: (2)
  • (bool|null) $pre The value to return instead. Default null to continue with the check.
    Richiesto:
  • (int) $site_id The site ID that is being checked.
    Richiesto:
Definito a:
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.





Sorgenti

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