Warning: This hook has been deprecated. Use ‘allowed_options’ instead.
apply_filters_deprecated( 'whitelist_options', array $allowed_options )
Filters the allowed options list.
Parameters
- $allowed_options
-
(array) The allowed options list.
Source
File: wp-admin/options.php
Changelog
Version | Description |
---|---|
5.5.0 | Use 'allowed_options' instead. |
2.7.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.
Example how to add whitelist_options.
Expand full source codeCollapse full source code