wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



pre_wp_is_site_initialized › Les Filtres WordPress

Depuis5.1.0
Dépréciéen/a
apply_filters( 'pre_wp_is_site_initialized', null, $site_id )
Paramètres: (2)
  • (bool|null) $pre The value to return instead. Default null to continue with the check.
    Requis: Oui
  • (int) $site_id The site ID that is being checked.
    Requis: Oui
Défini(e) dans:
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 );