Articles on: Developers

Before and after purging URL

Run custom code before and after purging a specific URL in FlyingPress:

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


Afer:
add_action('flying_press_purge_url:after', function($url) {
    // Insert your code here
});

Updated on: 18/12/2023

Was this article helpful?

Share your feedback

Cancel

Thank you!