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



customize_sanitize_js_{$this->id} › Hooks de Filtros WordPress

Desde3.4.0
Obsoleton/a
› apply_filters( "customize_sanitize_js_{$this->id}", $this->value()
Parâmetros: (2)
  • () value The setting value.
    Required: Yes
  • () setting WP_Customize_Setting instance.
    Required: Yes
Definido em:
Codex:

Filters a Customize setting value for use in JavaScript.

The dynamic portion of the hook name, `$this->id`, refers to the setting ID.




Fonte

$value = apply_filters( "customize_sanitize_js_{$this->id}", $this->value(), $this );