Noptin_Abstract_Trigger::is_rule_valid_for_args( Noptin_Automation_Rule $rule, mixed $args, Noptin_Subscriber $subscriber, Noptin_Abstract_Action $action )

Checks if this rule is valid for the above parameters.


Parameters Parameters

$rule

(Noptin_Automation_Rule) (Required) The rule to check for.

$args

(mixed) (Required) Extra args for the action.

$subscriber

(Noptin_Subscriber) (Required) The subscriber that this rule was triggered for.

$action

(Noptin_Abstract_Action) (Required) The action to run.


Top ↑

Return Return

(bool)


Top ↑

Source Source

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

    public function is_rule_valid_for_args( $rule, $args, $subscriber, $action ) {
        return true;
    }


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