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



pre_wp_load_alloptions › Filtr WordPress Hooks

Od6.2.0
Przestarzałyn/a
› apply_filters( 'pre_wp_load_alloptions', null, $force_cache )
Parametry: (2)
  • () alloptions An array of alloptions. Default null.
    Wymagane: Tak
  • () force_cache Whether to force an update of the local cache from the persistent cache. Default false.
    Wymagane: Tak
Zdefiniowane na:
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.




Źródło

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