Noptin_Email_Action::get_rule_description( $rule )


Source Source

File: includes/automation-rules/actions/class-noptin-email-action.php

    public function get_rule_description( $rule ) {

        $settings = $rule->action_settings;

        if ( empty( $settings['email_subject'] ) ) {
            return __( 'send them an email', 'newsletter-optin-box' );
        }

        $email_subject = esc_html( $settings['email_subject'] );
        return sprintf(
            __( 'send them an email with the subject %s', 'newsletter-optin-box' ),
           "<code>$email_subject</code>"
        );

    }

Top ↑

User Contributed Notes User Contributed Notes

30 day money back guarantee
Safe & Secure online payment
Custom CSS Slide Example
Custom Animation Example
Default Animation