wpcf7_ajax_sendinblue_email_template()
Ajax action to update the email templates in the Brevo editor panel.
Хуков нет.
Возвращает
null. Ничего (null).
Использование
wpcf7_ajax_sendinblue_email_template();
Код wpcf7_ajax_sendinblue_email_template() wpcf7 ajax sendinblue email template CF7 6.2.4.1
function wpcf7_ajax_sendinblue_email_template() {
$contact_form = wpcf7_contact_form( wpcf7_superglobal_get( 'id' ) );
$prop = wp_parse_args(
$contact_form ? $contact_form->prop( 'sendinblue' ) : array(),
array(
'enable_contact_list' => false,
'contact_lists' => array(),
'enable_transactional_email' => false,
'email_template' => 0,
)
);
wpcf7_sendinblue_editor_templates( $prop['email_template'] );
wp_die();
}