whitelist_options
whitelist_options
Appears in: wordpress-4.0, wordpress-4.4, wordpress-4.8, wordpress-4.9, wordpress-4.9.4, wordpress-4.9.5, wordpress-4.9.6, wordpress-4.9.7, wordpress-4.9.8, wordpress-5.0, wordpress-5.0.1, wordpress-5.0.2, wordpress-5.0.3, wordpress-5.1, wordpress-5.1.1, wordpress-5.2, wordpress-5.2.1, wordpress-5.2.2, wordpress-5.2.3, wordpress-5.2.4, wordpress-5.3, wordpress-5.3.1, wordpress-5.3.2, wordpress-5.4, wordpress-5.4.1, wordpress-5.4.2
Hook Type: filter
Displaying hooks found in version: wordpress-5.4.2apply_filters('whitelist_options') is found 1 times:
- /wp-admin/options.php line 205
* @since 2.7.0 * * @param array $whitelist_options The options whitelist. */ $whitelist_options = apply_filters( 'whitelist_options', $whitelist_options ); if ( 'update' == $action ) { // We are saving settings sent from a settings page. if ( 'options' == $option_page && ! isset( $_POST['option_page'] ) ) { // This is for back compat and will eventually be removed. $unregistered = true; check_admin_referer( 'update-options' ); } else {