Noptin_WooCommerce_New_Order_Trigger::get_settings()


Source Source

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

    public function get_settings() {
    
        return array(

            'action'          => array(
				'el'          => 'select',
				'label'       => __( 'Order status', 'newsletter-optin-box' ),
				'placeholder' => __( 'Select order state', 'newsletter-optin-box' ),
				'options'     => $this->get_order_actions(),
				'description' => __( 'Select the order status for which this trigger should fire.', 'newsletter-optin-box' ),
            ),

            'new_customer'    => array(
                'type'        => 'checkbox_alt',
                'el'          => 'input',
                'label'       => __( 'New customers', 'newsletter-optin-box' ),
                'description' => __( 'Only fire for first time buyers?', '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