Before and after purging all pages
Run your code before purging all pages:
Similarly, run after purging all pages:
add_action('flying_press_purge_pages:before', function(){ /* Write your code here */ });
Similarly, run after purging all pages:
add_action('flying_press_purge_pages:after', function(){ /* Write your code here */ });
Updated on: 23/11/2023
Thank you!