wpcf7_submit хук-событие . CF7 1.0
Использование
add_action( 'wpcf7_submit', 'action_function_name_3164', 10, 2 ); function action_function_name_3164( $that, $result ){ // action... }
- $that
- -
- $result
- -
Где вызывается хук
wpcf7_submit
contact-form-7/includes/contact-form.php 789
do_action( 'wpcf7_submit', $this, $result );
Где используется хук в ядре Contact Form 7
contact-form-7/modules/constant-contact.php 59
add_action( 'wpcf7_submit', 'wpcf7_constant_contact_submit', 10, 2 );
contact-form-7/modules/flamingo.php 7
add_action( 'wpcf7_submit', 'wpcf7_flamingo_submit', 10, 2 );
contact-form-7/modules/sendinblue/sendinblue.php 25
add_action( 'wpcf7_submit', 'wpcf7_sendinblue_submit', 10, 2 );