Skip to content
This repository was archived by the owner on Feb 23, 2019. It is now read-only.

Conversation

olitooni
Copy link

When preparing the CDN and running such functions as Modify attachment URLs or Upload attachments these new filter hooks provide a way for manipulating the SQL statement fetching the posts. For instance adding more post types that might contain attachments moved to the CDN storage.

Filters

  • w3tc_cdn_import_library_sql - Getting posts to import attachments to Media Library
  • w3tc_cdn_rename_domain_posts_sql - Getting posts that might contain posts with domain to be replaced
  • w3tc_cdn_import_posts_count_sql - Counting affected posts

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant