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

Filters an option value following sanitization.


Parameters

$value

The sanitized option value.

$option

The option name.

$original_value

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.