10
May
Return it
Comments
This action perform small, but important job. It immediately stops execution of the current workflow and return specified value back to WordPress or calling workflow.
Note: All actions which are located in the workflow after the Return it action will not be executed.
Use this action at the end of the workflow started with a filter hook. Read more here: Using workflow as WordPress filter.
If this action is used to stop nested workflow it returns specified value back to the parent workflow, read more: Nested workflow.
Alternatively, to conditionally return value back to the WordPress or calling workflow you can use Stop if action.