apply_filters( "sanitize_option_{$option}", string $value, string $option, string $original_value )

Filters an option value following sanitization.


Parameters

$value

(string) The sanitized option value.

$option

(string) The option name.

$original_value

(string) The original value passed to the function.


Source

File: wp-includes/formatting.php

View on GitHub



Changelog

Changelog
Version Description
WP-4.3.0 Added the $original_value parameter.
WP-2.3.0 Introduced.