AnsPress_Email_Hooks::ap_email_template()

Description #

Ajax callback for loading email template form.

Changelog #

VersionDescription
4.1.0Introduced.

Source #

File: addons/free/email.php

	public static function ap_email_template() {
		check_ajax_referer( 'ap_email_template', '__nonce' );
		$template_slug = ap_sanitize_unslash( 'template', 'r' );

		AnsPress_Email_Hooks::template_form( $template_slug );

		die();
	}

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Add your comment