Skip to main content

Merge tag {workflow_inbox_link: page_id=123 text="Open"}

Inbox link. A link to the workflow inbox.

Productgravityflow
Requiresgravityflow 1.7.1 or later
Needs an entryNo

Attributes

NameTypeRequiredDefaultDescription
page_id=textNo—The ID of the page that holds the [gravityflow] inbox shortcode, or admin for the WordPress dashboard. Defaults to the inbox page in Gravity Flow's settings, then the dashboard.
text=textNoInboxThe words people click. Used only by the link version of this tag.
token=one of the valuesNofalseAdds a token so the assignee can open the page without logging in. Email assignees always get one.
assignee=textNo—Build the link for this assignee instead of the person the email goes to, written as type|value: user_id|5, email|[email protected] or role|editor.
step=numberNo—Build the link for this step instead of the entry's current step.

Values for Add a sign-in token

ValueDescription
trueYes
falseNo (default)

Examples

Output from the real plugin code, run on a test entry.

Merge tagOutput
{workflow_inbox_link}<a href="http://fixture.gravitykit.test/wp-admin/admin.php?page=gravityflow-inbox">Inbox</a>