Method | Description | |
---|---|---|
run ( string $hook, mixed $args = null ) : mixed | Run all actions registered with the hook. |
Method | Description | |
---|---|---|
addEventListener ( string $name, Closure | string $callback, integer $priority, integer $accepted_args ) | Add an action event for the specified hook. |