wpcf7_validation_error хук-фильтрCF7 1.0

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

add_filter( 'wpcf7_validation_error', 'wp_kama_wpcf7_validation_error_filter', 10, 3 );

/**
 * Function for `wpcf7_validation_error` filter-hook.
 * 
 * @param  $error 
 * @param  $name  
 * @param  $that  
 *
 * @return 
 */
function wp_kama_wpcf7_validation_error_filter( $error, $name, $that ){

	// filter...
	return $error;
}
$error
-
$name
-
$that
-

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

WPCF7_ContactForm::validation_error()
wpcf7_validation_error
contact-form-7/includes/contact-form.php 847
return apply_filters( 'wpcf7_validation_error', $error, $name, $this );

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

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