Uma área de pesquisa sobre o WordPress para devs e autores do tema



sanitize_option_{$option} ›

Desde4.3.0
Obsoleton/a
apply_filters( "sanitize_option_{$option}", $value, $option, $original_value )
Parâmetros: (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
Definido em:
Codex:

Filters an option value following sanitization.





Fonte

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