Example #1
0
/**
 * Gets all the email templates that have been registerd. The list is extendable
 * and more templates can be added.
 *
 * @since 1.0.0
 * @return array $templates All the registered email templates
 */
function wpaam_get_email_templates()
{
    $templates = new WPAAM_Emails();
    return $templates->get_templates();
}