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

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

add_filter( 'wpcf7_stripe_payment_intent_parameters', 'wp_kama_wpcf7_stripe_payment_intent_parameters_filter' );

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

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

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

wpcf7_stripe_before_send_mail()
wpcf7_stripe_payment_intent_parameters
contact-form-7/modules/stripe/stripe.php 163-170
$payment_intent_params = apply_filters(
	'wpcf7_stripe_payment_intent_parameters',
	array(
		'amount' => $amount ? absint( $amount ) : null,
		'currency' => $currency ? strtolower( $currency ) : null,
		'receipt_email' => $submission->get_posted_data( 'your-email' ),
	)
);

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

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