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



customize_preview_{$this->type} ›

Depuis4.1.0
Dépréciéen/a
do_action( "customize_preview_{$this->type}", $this )
Paramètres:
  • (WP_Customize_Setting) $this WP_Customize_Setting instance.
    Requis: Oui
Défini(e) dans:
Codex:

Fires when the WP_Customize_Setting::preview() method is called for settings not handled as theme_mods or options.

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





Source

do_action( "customize_preview_{$this->type}", $this );