Email::ap_email_template()
Description #
Ajax callback for loading email template form.
Source #
File: addons/email/email.php
public function ap_email_template() { if ( ! current_user_can( 'manage_options' ) ) { die(); } check_ajax_referer( 'ap_email_template', '__nonce' ); $template_slug = ap_sanitize_unslash( 'template', 'r' ); \AnsPress\Addons\Email::init()->template_form( $template_slug ); die(); }
Expand full source code Collapse full source code View on GitHub: addons/email/email.php:782
Add your comment