Add or remove URLs to auto purge

FlyingPress automatically updates its cache of URLs to be purged whenever you publish, update, or delete content. However, if you want to add or remove specific URLs from this list, you can do so using the appropriate filters.

add_filter('flying_press_auto_purge_urls', function($urls, $post_id){
   $urls[] = "https://example.com/your-page/";
   return $urls;
},10,2);
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.