call_external_trigger()
call_external_trigger(string $bundle, string $trigger, string|boolean $argument = false)
Calls an Alfred External Trigger
Single and double-quotes in the argument might break this method, so make sure that you escape them appropriately.
Parameters
string | $bundle | the bundle id of the workflow to trigger |
string | $trigger | the name of the trigger |
string|boolean | $argument | an argument to pass |