AnsPress_Email_Hooks::register_email_template()
Description #
Register email templates form.
Source #
File: addons/free/email.php
public static function register_email_template() { $form = array( 'fields' => array( 'subject' => array( 'label' => __( 'Email subject', 'anspress-question-answer' ), ), 'body' => array( 'label' => __( 'Email body', 'anspress-question-answer' ), 'type' => 'editor', ), 'tags' => array( 'html' => '<label class="ap-form-label" for="form_email_template-allowed_tags">' . __( 'Allowed tags', 'anspress-question-answer' ) . '</label><div class="ap-email-allowed-tags">' . apply_filters( 'ap_email_form_allowed_tags', '' ) . '</div>', ), ), ); return $form; }
Expand full source code Collapse full source code View on GitHub: addons/free/email.php:245
Add your comment