/** * Gets all the email templates that have been registerd. The list is extendable * and more templates can be added. * * As of 2.0, this is simply a wrapper to EDD_Email_Templates->get_templates() * * @since 1.0.8.2 * @return array $templates All the registered email templates */ function edd_get_email_templates() { $templates = new EDD_Emails(); return $templates->get_templates(); }