Activity_Helper::action_exists( string $action )
Description #
Check if activity action exists.
Parameters #
- $actionstring (Required) Action key, must be below 20 characters.
Source #
File: includes/class/class-activity-helper.php
public function action_exists( $action ) { // Get only actions key. $action_keys = array_keys( $this->actions ); return in_array( $action, $action_keys, true ); }
Expand full source code Collapse full source code View on GitHub: includes/class/class-activity-helper.php:309
Add your comment