Transfer post formatting from one post to another using code.
By jbiancam1, 9 years ago. Last reply by Andrew Misplon, 9 years ago
I have been given the task of writing a plugin that displays a different post to different users. I can get the post to display using the the_content filter and swapping the post with another retrieved using get_post() and post_content() but all the pagebuilder widgets are lost. Is there a way to maintain the widgets?