wpseek.com
A WordPress-centric search engine for devs and theme authors



sanitize_option_{$option} › WordPress Filter Hooks

Since4.3.0
Deprecatedn/a
apply_filters( "sanitize_option_{$option}", $value, $option, $original_value )
Parameters: (3)
  • () value The sanitized option value.
    Required: Yes
  • () option The option name.
    Required: Yes
  • () original_value The original value passed to the function.
    Required: Yes
Defined at:
Codex:

Filters an option value following sanitization.





Source

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