Get and/or Protect the child permalink
-
Hey Edward,
Is there a way in any of your actions to get the child post object BEFORE it is modified?
I’m currently doing the following in before_restore_current_blog:
$data = $action->broadcasting_data; $child_post = get_post($data->modified_post->ID);
But it seems at this point the $child_post object already reflects the changes made from the broadcast. I’ve tried the above within modify_post as well, but same thing.
Any pointers would be greatly appreciated.
Thanks!
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Get and/or Protect the child permalink’ is closed to new replies.