sanitize_option_{$option}

sanitize_option_{$option}

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('sanitize_option_{$option}') is found 1 times:

  • /wp-includes/formatting.php line 5100
    	 * @param mixed  $value          The sanitized option value.
    	 * @param string $option         The option name.
    	 * @param mixed  $original_value The original value passed to the function.
    	 */
    	return apply_filters( "sanitize_option_{$option}", $value, $option, $original_value );
    }
    
    /**
     * Maps a function to all non-iterable elements of an array or an object.
     *
     * This is similar to `array_walk_recursive()` but acts upon objects too.