wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



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

Od3.4.0
Przestarzałyn/a
› apply_filters( "customize_sanitize_js_{$this->id}", $this->value()
Parametry: (2)
  • () value The setting value.
    Wymagane: Tak
  • () setting WP_Customize_Setting instance.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters a Customize setting value for use in JavaScript.

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




Źródło

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