PATH:
home
/
lab2454c
/
cbcei.com
/
wp-content
/
plugins
/
contact-form-7
/
modules
<?php add_action( 'wpcf7_init', 'wpcf7_add_form_tag_reflection', 10, 0 ); function wpcf7_add_form_tag_reflection() { wpcf7_add_form_tag( 'reflection', 'wpcf7_reflection_form_tag_handler', array( 'name-attr' => true, 'display-block' => true, 'not-for-mail' => true, ) ); } function wpcf7_reflection_form_tag_handler( $tag ) { if ( empty( $tag->name ) ) { return ''; } $content = ''; $values = (array) wpcf7_get_hangover( $tag->name ); if ( $values and ! wpcf7_get_validation_error( $tag->name ) ) { $values = array_map( function ( $val ) use ( $tag ) { return sprintf( '<output name="%1$s">%2$s</output>', esc_attr( $tag->name ), esc_html( $val ) ); }, $values ); $content = implode( '', $values ); } $html = sprintf( '<fieldset %1$s>%2$s</fieldset>', wpcf7_format_atts( array( 'data-reflection-of' => $tag->name, 'class' => $tag->get_class_option( wpcf7_form_controls_class( $tag->type ) ), 'id' => $tag->get_id_option(), ) ), $content ); return $html; }
[-] hidden.php
[edit]
[+]
..
[-] really-simple-captcha.php
[edit]
[-] flamingo.php
[edit]
[-] number.php
[edit]
[-] listo.php
[edit]
[-] checkbox.php
[edit]
[-] acceptance.php
[edit]
[-] submit.php
[edit]
[-] select.php
[edit]
[-] reflection.php
[edit]
[-] doi-helper.php
[edit]
[-] quiz.php
[edit]
[-] file.php
[edit]
[+]
constant-contact
[+]
sendinblue
[-] textarea.php
[edit]
[+]
akismet
[-] count.php
[edit]
[-] response.php
[edit]
[-] disallowed-list.php
[edit]
[+]
recaptcha
[-] date.php
[edit]
[-] error_log
[edit]
[-] text.php
[edit]
[+]
stripe