allowed_options filter-hook . WP 5.5.0
Filters the allowed options list.
Usage
add_filter( 'allowed_options', 'filter_function_name_472' ); function filter_function_name_472( $allowed_options ){ // filter... return $allowed_options; }
- $allowed_options(array)
- The allowed options list.
Changelog
Since 5.5.0 | Introduced. |
Where the hook is called
In file: /wp-admin/options.php
allowed_options
wp-admin/options.php 225
$allowed_options = apply_filters( 'allowed_options', $allowed_options );
Where in WP core the hook is used WordPress
wp-admin/options.php 79
add_filter( 'allowed_options', 'option_update_filter' );