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



pre_wp_load_alloptions › Les Filtres WordPress

Depuis6.2.0
Dépréciéen/a
apply_filters( 'pre_wp_load_alloptions', null, $force_cache )
Paramètres: (2)
  • (array|null) $alloptions An array of alloptions. Default null.
    Requis: Oui
  • (bool) $force_cache Whether to force an update of the local cache from the persistent cache. Default false.
    Requis: Oui
Défini(e) dans:
Codex:

Filters the array of alloptions before it is populated.

Returning an array from the filter will effectively short circuit wp_load_alloptions(), returning that value instead.





Source

$alloptions = apply_filters( 'pre_wp_load_alloptions', null, $force_cache );