-
Notifications
You must be signed in to change notification settings - Fork 96
purge URLs on page/post update #206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
cloudflare.loader.php
Outdated
| 'deleted_post', // Delete a post | ||
| 'edit_post', // Edit a post - includes leaving comments | ||
| 'delete_attachment', // Delete an attachment - includes re-uploading | ||
| 'post_update', // Update a post |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you link which hook this is?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry…just pushed a change to fix the typo. Here’s the hook: https://developer.wordpress.org/reference/hooks/post_updated/
8d9c19b to
eba6bdc
Compare
|
@thellimist This change purges the cache for single URLs when the page/post/CPT is updated. I also updated the documentation to match the new behavior. |
|
Hi @macbookandrew, The core developers of this project has changed. @IcyApril could you notify Patryk. Thanks |
|
Hey, would this also purge the cache on scheduled page publishing? |
|
Thanks! |
Fixes #200