Filters the allowed options list.
Parameters
$allowed_options
array- The allowed options list.
Source
$allowed_options = apply_filters( 'allowed_options', $allowed_options );
Changelog
Version | Description |
---|---|
5.5.0 | Introduced. |
Filters the allowed options list.
$allowed_options
array$allowed_options = apply_filters( 'allowed_options', $allowed_options );
Version | Description |
---|---|
5.5.0 | Introduced. |
You must log in before being able to contribute a note or feedback.
Example how to add allowed_options.
(Adapted deprecated code by arnoutpullen)