constant-contact
4 years ago
recaptcha
4 years ago
sendinblue
4 years ago
stripe
4 years ago
acceptance.php
5 years ago
akismet.php
4 years ago
checkbox.php
4 years ago
count.php
7 years ago
date.php
5 years ago
disallowed-list.php
4 years ago
doi-helper.php
4 years ago
file.php
5 years ago
flamingo.php
4 years ago
hidden.php
7 years ago
listo.php
9 years ago
number.php
5 years ago
quiz.php
4 years ago
really-simple-captcha.php
4 years ago
response.php
6 years ago
select.php
4 years ago
submit.php
4 years ago
text.php
4 years ago
textarea.php
4 years ago
response.php
24 lines
| 1 | <?php |
| 2 | /** |
| 3 | ** A base module for [response] |
| 4 | **/ |
| 5 | |
| 6 | /* form_tag handler */ |
| 7 | |
| 8 | add_action( 'wpcf7_init', 'wpcf7_add_form_tag_response', 10, 0 ); |
| 9 | |
| 10 | function wpcf7_add_form_tag_response() { |
| 11 | wpcf7_add_form_tag( 'response', |
| 12 | 'wpcf7_response_form_tag_handler', |
| 13 | array( |
| 14 | 'display-block' => true, |
| 15 | ) |
| 16 | ); |
| 17 | } |
| 18 | |
| 19 | function wpcf7_response_form_tag_handler( $tag ) { |
| 20 | if ( $contact_form = wpcf7_get_current_contact_form() ) { |
| 21 | return $contact_form->form_response_output(); |
| 22 | } |
| 23 | } |
| 24 |