[ad_1]
hey @wpdev917 thanks for reaching out. So the shortcodes actually use a transient cache to improve the performance of rending the shortcodes. One thing you might try is going to Admin->Pay for Post->Debug and scrolling down to the transients section and clicking the clear transients button. By default transients are set to expire after 24 hours and get regenerated. If that is too long of an timeframe you can adjust that transient expiration time using the following filter.
add_filter('wc_pay_per_post_posts_transient_time', function(){ return 10800; });
You need to return the number of SECONDS that you want the transient to stay in place.
Another option you can do is on the shortcode itself you can add the parameter ofbypass_transients='true'
So the shortcode would be[woocommerce-payperpost template='purchased' orderby='post_date' order='DESC' bypass_transients='true']
Let me know if that solved your issue!
Hey Matt,
Thanks for the quick response. The shortcode parameter was exactly what I needed.
Thank you!
