Code-Snippets-Functions/Execute a function on a child site/WP Rocket
2025-07-01 16:02:30 -06:00
..
adjust-lazyload-threshold.txt
cache-search-results.txt
cache-secondary-languages-translatepress Create cache-secondary-languages-translatepress 2025-07-01 16:02:30 -06:00
change-rucss-pending-jobs-interval.txt
disable-cache-constant.txt
disable-caching.txt
disable-cart-woocommerce-refresh-cart-cache.txt
disable-clear-cache-message.txt Create disable-clear-cache-message.txt 2023-09-19 12:06:07 -06:00
disable-cta-rocketcdn.txt Create disable-cta-rocketcdn.txt 2023-02-03 10:56:48 -07:00
disable-dns-preconnect-external-domains.txt Create disable-dns-preconnect-external-domains.txt 2025-06-18 13:28:41 -06:00
disable-dns-prefetch-option.txt
disable-emoji-optimization.txt
disable-htaccess-generation.txt
disable-iframe-lazyload.txt Create disable-iframe-lazyload.txt 2025-03-21 10:14:03 -06:00
disable-varnish-auto-purge.txt
enable-native-lazyload.txt
exclude_elementor_uploaded_css.txt
htaccess-remove-rewrites.txt
no-lazyload-search-results.txt
prevent-auto-purge-on-theme-change.txt
README.md Update README.md 2025-07-01 16:00:15 -06:00
reduce-rucss-batch-size.txt
remove-cache-options-metabox.txt
remove-htaccess-expire-headers.txt
remove-plugin-conflict-warning.txt
remove-toolbar-menu.txt

WP Rocket code snippets

Tested version of WordPress 6.8.1, plugin version was WP Rocket 3.19.0.1.

This file is a code snippet that is used for WP Rocket plugin.

Things to do

  1. If your not sure what this does check the Code Snippets Functions Readme
  2. As with all code snippets located in this git, TEST the code snippet on one of your test sites BEFORE sending the code snippet to all your MainWP Child sites!

Code snippet functions help

If you run into any issues or questions please use the MainWP Support page and open a ticket for the fastest response.