add_option_whitelist
add_option_whitelist ( $new_options, $options = '' )
Parameters:- (array) new_options
- (string|array) options
Returns:Defined at: - Introduced in WordPress: 2.7.0
- Deprecated in WordPress: 5.5.0
Description
Adds an array of options to the list of allowed options.