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



pre_wp_load_alloptions › WordPress Filter Hooks

Da6.2.0
Deprecaton/a
apply_filters( 'pre_wp_load_alloptions', null, $force_cache )
Parametri: (2)
  • (array|null) $alloptions An array of alloptions. Default null.
    Richiesto:
  • (bool) $force_cache Whether to force an update of the local cache from the persistent cache. Default false.
    Richiesto:
Definito a:
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.





Sorgenti

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