So I was able to temporarily achieve the functionality I needed by pairing the set_parent_terms function in the top section of code, which fires only when the child posts are saved, with a completely different function I managed to scrape together, that merely auto-saves the child posts when the parent post is saved. See completely separate solution here, which triggers the update of the children required by the first function above.
Still looking for an answer to the above to wrap it all into one function.
Related Posts:
- Display random categories on the front page (Finding and Editing Theme Functions)
- How to add classes to images based on their categories?
- current_cat_ancestor Alternatives
- Add body class of category parent
- Changing a function in function.php to a shortcode – for listing categories of only a certain post type
- Php string not working in WordPress Functions.php (trying to fetch 1st category for each blog that post appears in the sidebar)
- Add class to Categories Widget
- How to Acheive the custom woocommerce category template
- How to add a rel attribute to images that contains their categories?
- Assign category using custom field?
- How To Get WordPress Categories Link List?
- Changing post category from dropdown
- Manipulate Output of wp_list_something: select menu instead of li’s
- Make Categories a Dropdown Menu in Media Library
- Programmatically Create Category and sub Category
- Attach parent category template to all subcategories
- exclude a category from a search on a specific page
- Get the category name outside of the loop in category.php
- Is it possible to change any of the HTML/URL returned from the_category()
- Custom HTML in specific category single page and its descendant categories
- Possible to display shortcode based on the category?
- Unset Category if other Category is unset during post transition
- Select pages by category
- Show Primary Category first when I display post categories
- How do I hide or remove ‘Category’ from wordpress breadcrumbs
- Ordering posts by publish date not working?
- Categories as main menu items and subcategories as nested lists
- Get category URL for current post
- Need help “sanitizing” a custom function that pulls category slug into body class
- allow only one post in specific category
- How to obtain the recent posts without their content in an efficient way?
- Setting a default text for excerpts of a particular category
- Running script based on Category
- Remove a category from a post when saving a new post
- How to fix get_the_category function returning incorrect slug?
- Return category name with & Ampersand doesnt work
- Access category within rss2_head hook?
- issue with if/elseif in_array inside foreach loop display only one post
- Randomizing wp_tag_cloud() in child theme
- add_filter to specific WooCommerce Category
- How to rewrite wordpress search to work on specific category
- Image loading function not working on archive.php template
- Exclude Category ID in function
- Problem with calling custom function in a foreach loop
- Specify multiple categories for custom post template – FATAL ERROR
- “All posts” in the category widget
- Get Attachment Category Name
- WordPress Categories: Function using custom SQL to return array of specific category IDs
- Display ACF category image on archive and single template files
- Get slug of current category in functions.php
- Display a list of random terms from custom taxonomy with shortcode
- Change category display name function
- Display link to category over featured image
- Remove the ‘category’ url for one category type
- Custom Function.PHP Code Not Working on One Site
- Adding new Category does not refresh the backoffice
- How do i tweak my wp Post title base on category of the post
- how to remove a tag in the_category function
- Menu and category highlighting for a single post
- i can’t use wordpress functions in ajax loaded php file
- Graphic before title – Specific Category
- require_once() Causing categories and tag pages on dashboard to not refrsh
- different body classes for each category
- How To Get WordPress Categories Last Update Date?
- How to get tags and categories?
- How to Insert A List of Posts in A Category Written by the Author into the Author Archive
- Removing all Category pages with one exception
- Get category of post inside save_post hook
- What is the difference between get_page_link and get_permalink functions?
- Breadcrumbs showing Parent and Child Pages
- Unable to get_the_content(); of a post in WordPress via AJAX
- Ajax call theme functions from front
- Show excerpt for only first post in query
- Is there a way to add a class to non current menu item?
- Publish/Update post is changing image links from file url to post url
- How to stop twenty fifteen theme from cropping featured images?
- Don’t display html if function returns nothing
- How to stop media_sideload_image from running when deleting a post?
- I want to display latest post in marquee [closed]
- Add php code to wp_print_scripts?
- Remove ‘page-numbers’ class from prev and next tags
- How to make custom comment fields required
- Include Jquery libraries in wordpress theme?
- Retrieve First Image Function
- User meta and public function security
- How to get taxonomy tree ids without running expensive loops
- Change WooCommerce Payment Options From Radio Buttons to Dropdown Menu
- Using get_terms for custom taxonomy in functions.php
- Child theme remove parent filter in functions
- Set URL Parameter Post Layout As Default
- Exclude admins from query get posts
- How to add publish/draft button in Admin Post Lists
- Show users last read posts for each user?
- Woocommerce – change order status from on-hold to pending payment
- Sending Messages Back to the Template After Processing?
- Shortcode to eliminate and replace with
- using enqueue_script in a shortcode isn’t working
- Filter to strip unnecessary attributes
- get_post_class() not working well
- User’s Comments Number: Storing it in a meta field for different uses