Noptin_Automation_Rules::get_trigger( string $trigger_id )

Retrieves a registered trigger.


Parameters Parameters

$trigger_id

(string) (Required) The trigger's uniques id.


Top ↑

Return Return

(Noptin_Abstract_Trigger|null)


Top ↑

Source Source

File: includes/automation-rules/class-noptin-automation-rules.php

    public function get_trigger( $trigger_id ) {
        return empty( $this->triggers[ $trigger_id ] ) ? null : $this->triggers[ $trigger_id ];
    }

Top ↑

Changelog Changelog

Changelog
VersionDescription
1.2.8Introduced.

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