customize_save_validation_before хук-событиеWP 4.6.0

Fires before save validation happens.

Plugins can add just-in-time {@see 'customize_validate_{$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.


add_action( 'customize_save_validation_before', 'wp_kama_customize_save_validation_before_action' );

 * Function for `customize_save_validation_before` action-hook.
 * @param WP_Customize_Manager $manager WP_Customize_Manager instance.
 * @return void
function wp_kama_customize_save_validation_before_action( $manager ){

	// action...
WP_Customize_Manager instance.

Список изменений

С версии 4.6.0 Введена.

Где вызывается хук

wp-includes/class-wp-customize-manager.php 2770
do_action( 'customize_save_validation_before', $this );

Где используется хук в WordPress

Использование не найдено.