Before and after purging all pages
Execute custom code before and after purging all pages in FlyingPress:
Before purging:
After purging:
Before purging:
add_action('flying_press_purge_pages:before', function() {
// Insert your code here
});
After purging:
add_action('flying_press_purge_pages:after', function() {
// Insert your code here
});
Updated on: 18/12/2023
Thank you!