Add or remove URLs to auto purge
FlyingPress automatically purge necessary pages when you publish, update, or delete content.
To customize this list of URLs use the flying_press_auto_purge_urls filter:
To customize this list of URLs use the flying_press_auto_purge_urls filter:
add_filter('flying_press_auto_purge_urls', function ($urls, $post_id) {
$urls[] = 'https://example.com/your-page/';
return $urls;
}, 10, 2);
Updated on: 18/12/2023
Thank you!