Noptin_New_Subscriber_Trigger::get_settings()


Source Source

File: includes/automation-rules/triggers/class-noptin-new-subscriber-trigger.php

    public function get_settings() {

        $methods = array(
            '-1' => __( 'Fire for all subscription methods', 'newsletter-optin-box' ),
        );

        return array(

            'subscribed_via'  => array(
				'el'          => 'select',
				'label'       => __( 'Subscription Method', 'newsletter-optin-box' ),
				'placeholder' => __( 'Select a subscription method', 'newsletter-optin-box' ),
				'options'     => $methods + $this->get_subscription_methods(),
				'description' => __( 'Select a subscription method if you would like to limit this trigger to a specific subscription method.', 'newsletter-optin-box' ),
            ),

        );

    }


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