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

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

add_filter( 'wpcf7_refill_response', 'wp_kama_wpcf7_refill_response_filter' );

/**
 * Function for `wpcf7_refill_response` filter-hook.
 * 
 * @param  $array 
 *
 * @return 
 */
function wp_kama_wpcf7_refill_response_filter( $array ){

	// filter...
	return $array;
}
$array
-

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

WPCF7_REST_Controller::get_refill()
wpcf7_refill_response
contact-form-7/includes/rest-api.php 452
$response = apply_filters( 'wpcf7_refill_response', array() );

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

contact-form-7/modules/quiz.php 121
add_filter( 'wpcf7_refill_response', 'wpcf7_quiz_ajax_refill', 10, 1 );
contact-form-7/modules/really-simple-captcha.php 189
add_filter( 'wpcf7_refill_response', 'wpcf7_captcha_ajax_refill', 10, 1 );