A WordPress-centric search engine for devs and theme authors



sanitize_option_{$option} ›

Since4.3.0
Deprecatedn/a
apply_filters( "sanitize_option_{$option}", $value, $option, $original_value )
Parameters: (3)
  • (string) $value The sanitized option value.
    Required: Yes
  • (string) $option The option name.
    Required: Yes
  • (string) $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 );