WordPress · Arazzo Workflow
WordPress Tag an Existing Post
Version 1.0.0
Find a tag by name and apply it to an existing post.
Provider
Workflows
tag-an-existing-post
Resolve a tag by name and assign it to an existing post.
Searches tags for the supplied name, and when a tag is found reads the target post and updates it so the tag id is assigned in its tags taxonomy.
1
findTag
listTags
Search the tags collection for a tag matching the supplied name, returning at most one result.
2
getTargetPost
getPost
Read the target post by id to confirm it exists before updating its tags.
3
applyTag
updatePost
Update the post so the matched tag id is assigned in its tags taxonomy.