I used this code to import my demo from a custom post type. It imports my demo content to the page but doesn't render until I reload the page manually. After manually reloading I can see my demo content. but if I updated only the title then it's rendered automatically but only when I update the post manually.
I used this code to import my demo from a custom post type. It imports my demo content to the page but doesn't render until I reload the page manually. After manually reloading I can see my demo content. but if I updated only the title then it's rendered automatically but only when I update the post manually.