Render Templates content
<?php
use NewEmail1;
defined( 'ABSPATH' ) || exit;
$template = YourNewEmail::get_instance()->template;
if ( ! empty( $template ) ) {
$content = $template->get_content( $args );
yaymail_kses_post_e( $content );
}

Last updated
Was this helpful?