alloptions
Filters all options after retrieving them.
Usage
add_filter( 'alloptions', 'wp_kama_alloptions_filter' ); /** * Function for `alloptions` filter-hook. * * @param array $alloptions Array with all options. * * @return array */ function wp_kama_alloptions_filter( $alloptions ){ // filter... return $alloptions; }
- $alloptions(array)
- Array with all options.
Changelog
Since 4.9.0 | Introduced. |
Where the hook is called
wp-includes/option.php 652
return apply_filters( 'alloptions', $alloptions );