Before and after purging URL

Run your code before purging a single URL (page):

add_action('flying_press_purge_url:before', function($url){
 // Write your code here
});

Similarly, run after purging a single URL (page):

add_action('flying_press_purge_url:after', function($url){
 // Write your code here
});
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.