wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



customize_sanitize_js_{$this->id} › Les Filtres WordPress

Depuis3.4.0
Dépréciéen/a
› apply_filters( "customize_sanitize_js_{$this->id}", $this->value()
Paramètres: (2)
  • () value The setting value.
    Requis: Oui
  • () setting WP_Customize_Setting instance.
    Requis: Oui
Défini(e) dans:
Codex:

Filters a Customize setting value for use in JavaScript.

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




Source

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