wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



pre_wp_is_site_initialized › Filtr WordPress Hooks

Od5.1.0
Przestarzałyn/a
apply_filters( 'pre_wp_is_site_initialized', null, $site_id )
Parametry: (2)
  • (bool|null) $pre The value to return instead. Default null to continue with the check.
    Wymagane: Tak
  • (int) $site_id The site ID that is being checked.
    Wymagane: Tak
Zdefiniowane na:
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.





Źródło

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