Articles on: Developers

Before and after purging everything

Execute custom code before and after purging everything in FlyingPress:

Before purging:
add_action('flying_press_purge_everything:before', function() {
    // Insert your code here
});


After purging:
add_action('flying_press_purge_everything:after', function() {
    // Insert your code here
});

Updated on: 18/12/2023

Was this article helpful?

Share your feedback

Cancel

Thank you!