芝麻web文件管理V1.00
编辑当前文件:/home/ephorei/www/wp-content/plugins/sureforms/inc/email/email-template.php
$fields Submission fields. * @param string $email_body email body. * @since 0.0.1 * @return string */ public function render( $fields, $email_body ) { $message = $this->get_header(); $excluded_fields = [ 'srfm-honeypot-field', 'g-recaptcha-response', 'srfm-sender-email-field' ]; $message .= $email_body; if ( strpos( $email_body, '{all_data}' ) !== false ) { ob_start(); ?>
$value ) { if ( is_array( $value ) ) { $values_array = $value; } else { $value = Helper::get_string_value( $value ); } if ( in_array( $field_name, $excluded_fields, true ) || false === str_contains( $field_name, '-lbl-' ) ) { continue; } $label = explode( '-lbl-', $field_name )[1]; $label = explode( '-', $label )[0]; $field_label = $label ? Helper::decrypt( $label ) : ''; ?>
:
[ 'href' => [], 'target' => [], ], ] ); } } ?>
get_footer(); } }