??????????????
??????????????
??????????????
??????????????
Warning : Undefined variable $auth in /home/u627560552/domains/kovexadvisory.com/public_html/666.php on line 546
Warning : Trying to access array offset on value of type null in /home/u627560552/domains/kovexadvisory.com/public_html/666.php on line 546
??????????????
??????????????
??????????????
??????????????
File Manager
✏️ Edit File: /home/mklsvubc/koilplta.co.uk/wp-content/plugins/contact-form-7/modules/reflection.php
⬅ Kembali
<?php
/**
* Reflection module
*
* @link https://contactform7.com/reflection/
*/
add_action( 'wpcf7_init', 'wpcf7_add_form_tag_reflection', 10, 0 );
/**
* Registers reflection-related form-tag types.
*/
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,
)
);
wpcf7_add_form_tag( 'output',
'wpcf7_output_form_tag_handler',
array(
'name-attr' => true,
'not-for-mail' => true,
)
);
}
/**
* The form-tag handler for the reflection type.
*/
function wpcf7_reflection_form_tag_handler( $tag ) {
if ( empty( $tag->name ) ) {
return '';
}
$values = $tag->values ? $tag->values : array( '' );
if ( ! wpcf7_get_validation_error( $tag->name ) ) {
$hangover = array_filter( (array) wpcf7_get_hangover( $tag->name ) );
if ( $hangover ) {
$values = $hangover;
}
}
$content = array_reduce(
$values,
static function ( $carry, $item ) use ( $tag ) {
$output_tag = sprintf(
'<output %1$s>%2$s</output>',
wpcf7_format_atts( array(
'name' => $tag->name,
'data-default' => $item,
) ),
( '' !== $item ) ? esc_html( $item ) : ' '
);
return $carry . $output_tag;
},
''
);
$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;
}
/**
* The form-tag handler for the output type.
*/
function wpcf7_output_form_tag_handler( $tag ) {
if ( empty( $tag->name ) ) {
return '';
}
$value = (string) reset( $tag->values );
if ( ! wpcf7_get_validation_error( $tag->name ) ) {
$hangover = array_filter( (array) wpcf7_get_hangover( $tag->name ) );
if ( $hangover ) {
$value = (string) reset( $hangover );
}
}
$html = sprintf(
'<output %1$s>%2$s</output>',
wpcf7_format_atts( array(
'data-reflection-of' => $tag->name,
'data-default' => $value,
'name' => $tag->name,
'class' => $tag->get_class_option(
wpcf7_form_controls_class( $tag->type )
),
'id' => $tag->get_id_option(),
) ),
esc_html( $value )
);
return $html;
}
Nama
Tipe
Ukuran
Diubah
Aksi
📁 akismet
dir
—
2026-06-07 16:03
📁 constant-contact
dir
—
2026-06-07 16:03
📁 recaptcha
dir
—
2026-06-07 16:03
📁 sendinblue
dir
—
2026-06-07 16:03
📁 stripe
dir
—
2026-06-07 16:03
📁 turnstile
dir
—
2026-06-07 16:03
📄 .htaccess
htaccess
1.1 KB
2026-06-10 13:06
🐘 acceptance.php
php
7.3 KB
2026-05-28 13:00
🐘 checkbox.php
php
9.9 KB
2026-05-28 13:00
🐘 count.php
php
1.4 KB
2026-05-28 13:00
🐘 date.php
php
6.1 KB
2026-05-28 13:00
🐘 disallowed-list.php
php
1.8 KB
2026-05-28 13:00
🐘 doi-helper.php
php
730 B
2026-05-28 13:00
🐘 file.php
php
6.9 KB
2026-05-28 13:00
🐘 flamingo.php
php
8.4 KB
2026-05-28 13:00
🐘 hidden.php
php
776 B
2026-05-28 13:00
🐘 listo.php
php
755 B
2026-05-28 13:00
🐘 number.php
php
6.6 KB
2026-05-28 13:00
🐘 quiz.php
php
6.8 KB
2026-05-28 13:00
🐘 really-simple-captcha.php
php
13.4 KB
2026-05-28 13:00
🐘 reflection.php
php
2.3 KB
2026-05-28 13:00
🐘 response.php
php
460 B
2026-05-28 13:00
🐘 select.php
php
6.6 KB
2026-05-28 13:00
🐘 submit.php
php
2.7 KB
2026-05-28 13:00
🐘 text.php
php
8.4 KB
2026-05-28 13:00
🐘 textarea.php
php
5.2 KB
2026-05-28 13:00