wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



customize_sanitize_js_{$this->id} › WordPress Filter Hooks

Seit3.4.0
Veraltetn/v
apply_filters( "customize_sanitize_js_{$this->id}", $this->value()
Parameter: (2)
  • () value The setting value.
    Erforderlich: Ja
  • () setting WP_Customize_Setting instance.
    Erforderlich: Ja
Definiert in:
Codex:

Filters a Customize setting value for use in JavaScript.

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




Quellcode

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