Code-Snippets-Functions/Execute a function on a child site/WP Rocket
2025-07-01 16:02:30 -06:00
..
adjust-lazyload-threshold.txt Create adjust-lazyload-threshold.txt 2022-07-20 13:15:51 -06:00
cache-search-results.txt Create cache-search-results.txt 2022-08-22 13:13:11 -06:00
cache-secondary-languages-translatepress Create cache-secondary-languages-translatepress 2025-07-01 16:02:30 -06:00
change-rucss-pending-jobs-interval.txt Create change-rucss-pending-jobs-interval.txt 2022-09-01 14:12:50 -06:00
disable-cache-constant.txt Create disable-cache-constant.txt 2020-12-22 11:47:50 -07:00
disable-caching.txt Create disable-caching.txt 2022-09-20 12:48:43 -06:00
disable-cart-woocommerce-refresh-cart-cache.txt Create disable-cart-woocommerce-refresh-cart-cache.txt 2022-07-21 15:05:53 -06:00
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 Create disable-dns-prefetch-option.txt 2021-08-04 23:00:56 -06:00
disable-emoji-optimization.txt Create disable-emoji-optimization.txt 2022-04-01 14:05:58 -06:00
disable-htaccess-generation.txt Create disable-htaccess-generation.txt 2020-12-22 11:47:27 -07:00
disable-iframe-lazyload.txt Create disable-iframe-lazyload.txt 2025-03-21 10:14:03 -06:00
disable-varnish-auto-purge.txt Create disable-varnish-auto-purge.txt 2021-08-04 23:02:43 -06:00
enable-native-lazyload.txt Create enable-native-lazyload.txt 2020-01-11 15:01:53 -07:00
exclude_elementor_uploaded_css.txt Create exclude_elementor_uploaded_css.txt 2021-05-13 14:08:43 -06:00
htaccess-remove-rewrites.txt Create htaccess-remove-rewrites.txt 2022-08-09 08:46:17 -06:00
no-lazyload-search-results.txt Update no-lazyload-search-results.txt 2022-07-26 07:22:48 -06:00
prevent-auto-purge-on-theme-change.txt Create prevent-auto-purge-on-theme-change.txt 2022-08-22 13:23:49 -06:00
README.md Update README.md 2025-07-01 16:00:15 -06:00
reduce-rucss-batch-size.txt Create reduce-rucss-batch-size.txt 2022-08-30 14:55:35 -06:00
remove-cache-options-metabox.txt Create remove-cache-options-metabox.txt 2020-01-11 14:57:16 -07:00
remove-htaccess-expire-headers.txt Create remove-htaccess-expire-headers.txt 2022-08-18 12:05:47 -06:00
remove-plugin-conflict-warning.txt Create remove-plugin-conflict-warning.txt 2021-09-28 12:57:13 -06:00
remove-toolbar-menu.txt Create remove-toolbar-menu.txt 2022-07-13 09:50:29 -06:00

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.