Noptin_Automation_Rules::has_action( string $action_id )
Checks if there is an action with that id.
Parameters Parameters
- $action_id
(string) (Required) The action's uniques id.
Return Return
(bool) whether or not the action exists.
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 ] ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
1.2.8 | Introduced. |