Noptin_New_Subscriber_Trigger::maybe_trigger( int $subscriber )

Called when a subscriber is activated.


Parameters Parameters

$subscriber

(int) (Required) The subscriber in question.


Top ↑

Source Source

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

    public function maybe_trigger ( $subscriber ) {
        $subscriber = new Noptin_Subscriber( $subscriber );

        // Only trigger if a subscriber is active.
        if ( empty( $subscriber->active ) ) {
            $this->trigger( $subscriber, $subscriber->to_array() );
        }

    }


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