Title: Plugin still using outdated FlyingPress hook
Last modified: June 21, 2023

---

# Plugin still using outdated FlyingPress hook

 *  Resolved [Proloy Bhaduri](https://wordpress.org/support/users/proloybhaduri/)
 * (@proloybhaduri)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/plugin-still-using-outdated-flyingpress-hook/)
 * Hi there,
 * I’m Proloy Bhaduri from [FlyingPress](https://flying-press.com/).We recently 
   found that your plugin is using the FlyingPress hook fp_purged_cache ,that is
   no longer supported after V4 . (Please see the [changelog](https://flying-press.com/changelog/)).
 * We would like to request you to update the hooks in your plugin so that cache
   gets purged as desired . You can check our [developer docs](https://docs.flying-press.com/category/205-actions)
   to get more info about the updated hooks that correspond to cache purging in 
   FlyingPress.
 * **File that needs to be ammended**:
 * [https://plugins.trac.wordpress.org/browser/wp-cloudflare-page-cache/tags/4.7.4/libs/cache_controller.class.php#L204](https://plugins.trac.wordpress.org/browser/wp-cloudflare-page-cache/tags/4.7.4/libs/cache_controller.class.php#L204).
 * Have a great day ahead.
 * Best Regards,
 * Proloy,

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Plugin Contributor [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/plugin-still-using-outdated-flyingpress-hook/#post-16836992)
 * Hi [@proloybhaduri](https://wordpress.org/support/users/proloybhaduri/),
   Thanks
   for your message, so you want me to update the hook to `flying_press_purge_pages:
   after` ?
 *  Thread Starter [Proloy Bhaduri](https://wordpress.org/support/users/proloybhaduri/)
 * (@proloybhaduri)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/plugin-still-using-outdated-flyingpress-hook/#post-16837575)
 * Hi [@isaumya](https://wordpress.org/support/users/isaumya/) , 
   Thanks for your
   reply.Yes, it would be great if you can use the following two hooks.`flying_press_purge_pages:
   after``flying_press_purge_everything:after`
 *  Plugin Contributor [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/plugin-still-using-outdated-flyingpress-hook/#post-16839091)
 * Hey [@proloybhaduri](https://wordpress.org/support/users/proloybhaduri/),
   Quick
   question, when `flying_press_purge_pages:after` hook is executed, is `$url` be
   a string of the URL e.g. `https://example.com/some-page/` or it will be an array
   of list of URLs for which the cache is purged?
 * Can you please let me know as this is not mentioned in your docs: [https://docs.flying-press.com/article/218-before-and-after-purging-all-pages](https://docs.flying-press.com/article/218-before-and-after-purging-all-pages)
 * Looking forward to your reply.
 *  Thread Starter [Proloy Bhaduri](https://wordpress.org/support/users/proloybhaduri/)
 * (@proloybhaduri)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/plugin-still-using-outdated-flyingpress-hook/#post-16839167)
 * Hi [@isaumya](https://wordpress.org/support/users/isaumya/),
   The hooks `flying_press_purge_pages:
   after` and ` flying_press_purge_everything:after` does not require any argument.
   Updated the docs.Thanks,
 *  Plugin Contributor [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/plugin-still-using-outdated-flyingpress-hook/#post-16839177)
 * Hi [@proloybhaduri](https://wordpress.org/support/users/proloybhaduri/),
   So, 
   when `flying_press_purge_pages:after` is fired, there is no way to know for which
   pages the hook is fired? Like a list of URLs for which `flying_press_purge_pages:
   after` is executed?
 *  Thread Starter [Proloy Bhaduri](https://wordpress.org/support/users/proloybhaduri/)
 * (@proloybhaduri)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/plugin-still-using-outdated-flyingpress-hook/#post-16839362)
 * Hi [@isaumya](https://wordpress.org/support/users/isaumya/),
 * It can only be known using the following hook.`flying_press_purge_url:after `
 * Here’s the related document. This hook gets executed while purging every url 
   individually.
 * So, for purging pages and purging everything it’s not possible to know the purged
   urls separately because all pages(everything if everything is purged) that have
   been cached gets purged .
 * [https://docs.flying-press.com/article/217-before-and-after-purging-url](https://docs.flying-press.com/article/217-before-and-after-purging-url)
    -  This reply was modified 2 years, 11 months ago by [Proloy Bhaduri](https://wordpress.org/support/users/proloybhaduri/).
    -  This reply was modified 2 years, 11 months ago by [Proloy Bhaduri](https://wordpress.org/support/users/proloybhaduri/).
 *  Plugin Contributor [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/plugin-still-using-outdated-flyingpress-hook/#post-16839740)
 * Hi [@proloybhaduri](https://wordpress.org/support/users/proloybhaduri/),
   Thanks
   for all the info. I’ve updated the flying press hooks in the plugin. You can 
   check it in [this plugin build](https://verti-artifacts.s3.amazonaws.com/WP-Cloudflare-Super-Page-Cache-development-ca6d30a7/wp-cloudflare-page-cache.zip).
   It will be part of the upcoming release.
 * Now this plugin will also purge cache on `flying_press_purge_pages:after` and`
   flying_press_purge_everything:after` hook.
 * Thanks.
 *  Thread Starter [Proloy Bhaduri](https://wordpress.org/support/users/proloybhaduri/)
 * (@proloybhaduri)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/plugin-still-using-outdated-flyingpress-hook/#post-16844892)
 * Hi [@isaumya](https://wordpress.org/support/users/isaumya/), 
   Thank you very 
   much for your support and superfast resolution.
 *  Plugin Contributor [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/plugin-still-using-outdated-flyingpress-hook/#post-16849391)
 * Thank you [@proloybhaduri](https://wordpress.org/support/users/proloybhaduri/).
   🙂

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Plugin still using outdated FlyingPress hook’ is closed to new replies.

 * ![](https://ps.w.org/wp-cloudflare-page-cache/assets/icon-256x256.gif?rev=3234997)
 * [Super Page Cache – Cloudflare Cache, Page Speed & Core Web Vitals](https://wordpress.org/plugins/wp-cloudflare-page-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-cloudflare-page-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-cloudflare-page-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-cloudflare-page-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-cloudflare-page-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-cloudflare-page-cache/reviews/)

## Tags

 * [cache](https://wordpress.org/support/topic-tag/cache/)

 * 9 replies
 * 2 participants
 * Last reply from: [iSaumya](https://wordpress.org/support/users/isaumya/)
 * Last activity: [2 years, 11 months ago](https://wordpress.org/support/topic/plugin-still-using-outdated-flyingpress-hook/#post-16849391)
 * Status: resolved