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

Filters an option value following sanitization.


Description


Parameters

$value

(string) The sanitized option value.

$option

(string) The option name.

$original_value

(string) The original value passed to the function.


Top ↑

Source

File: wp-includes/formatting.php

View on Trac


Top ↑

Changelog

Version Description
4.3.0 Added the $original_value parameter.
2.3.0 Introduced.