Articles on: Developers

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 */ });

Updated on: 23/11/2023

Was this article helpful?

Share your feedback

Cancel

Thank you!