Filters the allowed options list.
$allowed_optionsarray
$allowed_options = apply_filters_deprecated(
'whitelist_options',
array( $allowed_options ),
'5.5.0',
'allowed_options',
__( 'Please consider writing more inclusive code.' )
);
| Version | Description |
|---|---|
| 5.5.0 | Use 'allowed_options' instead. |
| 2.7.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/whitelist_options