Noptin_Automation_Rules::has_action( string $action_id )

Checks if there is an action with that id.

Parameters Parameters


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

Top ↑

Return Return

(bool) whether or not the action exists.

Top ↑

Source Source

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

    public function has_action( $action_id ) {
        return is_scalar( $action_id ) && ! empty( $this->actions[ $action_id ] );

Top ↑

Changelog Changelog


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