Skip to content

Instantly share code, notes, and snippets.

@FuruholmAnton
Created April 15, 2021 11:50
Show Gist options
  • Save FuruholmAnton/fce00138ca973a53e1e378794a2f9a14 to your computer and use it in GitHub Desktop.
Save FuruholmAnton/fce00138ca973a53e1e378794a2f9a14 to your computer and use it in GitHub Desktop.
Add html to variable
ob_start();
include dirname(plugin_dir_path(__FILE__)) . '/email-template.php';
$html = ob_get_clean();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment