alloptions filter-hookWP 4.9.0

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_load_alloptions()
alloptions
wp-includes/option.php 641
return apply_filters( 'alloptions', $alloptions );

Where the hook is used in WordPress

Usage not found.