A WordPress-centric search engine for devs and theme authors



customize_save_validation_before ›

Since4.6.0
Deprecatedn/a
do_action( 'customize_save_validation_before', $this )
Parameters:
  • (WP_Customize_Manager) $this WP_Customize_Manager instance.
    Required: Yes
Defined at:
Codex:

Fires before save validation happens.

Plugins can add just-in-time {@see 'customizevalidate{$this->ID}'} filters at this point to catch any settings registered after customize_register. The dynamic portion of the hook name, $this->ID refers to the setting ID.





Source

do_action( 'customize_save_validation_before', $this );