Skip to content

WordPressUtilities/wpucloudflare

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WPU Cloudflare

PHP workflow

Handle Cloudflare reverse proxy

Features

  • Purge cloudflare cache for an URL when saving a post from the admin.
  • Manually purge cloudflare cache for all pages.

Translations

  • English
  • French

Hooks

  • wpucloudflare__purge_everything (Action) : Purge all cache.
  • wpucloudflare__save_post__can_clear (Filter) : Bool (post id) : disable cache purge for a page.
  • wpucloudflare__save_post__urls (Filter) : Array (urls, post_id) : add more urls to purge.
  • wpucloudflare__save_post__excluded_post_types (Filter) : Array (post_type_slug) : Avoid save_post action for those post_types.

About

Handle Cloudflare reverse proxy

Topics

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Packages

 
 
 

Contributors

Languages