Noptin_Automation_Rules::has_trigger( string $trigger_id )

Checks if there is a trigger with that id.


Parameters Parameters

$trigger_id

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


Top ↑

Return Return

(bool) whether or not the trigger exists.


Top ↑

Source Source

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

    public function has_trigger( $trigger_id ) {
        return is_scalar( $trigger_id ) && ! empty( $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