whitelist_options

whitelist_options

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-5.4.2

apply_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 {