WordPress · Arazzo Workflow
WordPress Create Subpage Under Parent
Version 1.0.0
Find a parent page by title and create a child page nested beneath it.
Provider
Workflows
create-subpage-under-parent
Create a child page nested under an existing parent page.
Searches pages for a parent matching the supplied title, and when found creates a child page with parent set to the matched id, then fetches the new page to verify it was created beneath the parent.
1
findParent
listPages
Search the pages collection for a page whose content matches the supplied parent title, returning at most one match.
2
createChild
createPage
Create a new page nested under the matched parent by setting its parent to the matched page id.
3
verifyPage
getPage
Read the child page back by id to confirm it was created.