Refreshes the value of the allowed options list available via the ‘allowed_options’ hook.
Description
See the ‘allowed_options’ filter.
Parameters
$options
arrayrequired
Source
function option_update_filter( $options ) {
global $new_allowed_options;
if ( is_array( $new_allowed_options ) ) {
$options = add_allowed_options( $new_allowed_options, $options );
}
return $options;
}
User Contributed Notes
You must log in before being able to contribute a note or feedback.