Code-Snippets-Functions/Execute a function on a child site/Autoptimize
Sebastian Moran 7ee89cd120
Update README.md
Bump the WordPress version.
2025-05-28 15:19:38 -06:00
..
avif-shortpixel-image-optimize.txt Create avif-shortpixel-image-optimize.txt 2020-09-17 21:30:19 -06:00
clear-cache-if-known-cache-is-cleared.txt Create clear-cache-if-known-cache-is-cleared.txt 2025-04-08 12:43:25 -06:00
defer-css-later.txt Create defer-css-later.txt 2024-11-07 14:12:27 -07:00
defer-inline-js-that-requires-jquery.txt Create defer-inline-js-that-requires-jquery.txt 2020-09-30 22:11:31 -06:00
disable-aggregate-inline-js-on-specific-page.txt Create disable-aggregate-inline-js-on-specific-page.txt 2023-02-06 11:44:39 -07:00
disable-autoptimize-toolbar.txt Create disable-autoptimize-toolbar.txt 2019-05-15 14:33:47 -06:00
disable-background-lazyloading.txt Create disable-background-lazyloading.txt 2021-11-18 21:12:58 -07:00
disable-block-editor-js-compatibility.txt Create disable-block-editor-js-compatibility.txt 2023-02-15 15:47:45 -07:00
disable-cache-clear-listening.txt Create disable-cache-clear-listening.txt 2022-06-07 13:54:33 -06:00
disable-compatibility-code.txt Create disable-compatibility-code.txt 2022-08-02 14:22:03 -06:00
disable-email-notification.txt Create disable-email-notification.txt 2022-03-18 21:26:43 -06:00
disable-image-preloads.txt Create disable-image-preloads.txt 2022-04-15 11:02:58 -06:00
disable-image-processing.txt Create disable-image-processing.txt 2022-10-27 13:05:59 -06:00
disable-on-specific-urls.txt Create disable-on-specific-urls.txt 2021-08-11 15:12:23 -06:00
disable-revslider-compatibility.txt Create disable-revslider-compatibility.txt 2023-02-03 13:46:56 -07:00
do-not-disable-jetpack-cdn.txt Create do-not-disable-jetpack-cdn.txt 2023-10-19 14:21:11 -06:00
enable-cache-clear-advanced.txt Create enable-cache-clear-advanced.txt 2022-01-05 14:42:58 -07:00
enable-css-fonts-cdn.txt Create enable-css-fonts-cdn.txt 2020-07-17 07:29:26 -06:00
enable-filter_imgopt_lazyload_from_nth.txt Create enable-filter_imgopt_lazyload_from_nth.txt 2023-10-09 11:05:43 -06:00
enable-font-support-cdn.txt Create enable-font-support-cdn.txt 2022-08-05 11:12:28 -06:00
enable-minify-inline-js-css.txt Create enable-minify-inline-js-css.txt 2022-04-11 13:49:06 -06:00
enable-static-gzip-compression.txt Create enable-static-gzip-compression.txt 2020-09-17 21:55:59 -06:00
exclude-image-from-being-optimized-shortpixel.txt Create exclude-image-from-being-optimized-shortpixel.txt 2019-11-17 12:02:51 -07:00
filter-cache-check-directory-on-write.txt Create filter-cache-check-directory-on-write.txt 2022-08-02 14:21:19 -06:00
fix-elementor-editor-issues.txt Create fix-elementor-editor-issues.txt 2022-01-26 10:32:53 -07:00
flush-shortpixel-cdn.txt Create flush-shortpixel-cdn.txt 2020-10-14 22:00:38 -06:00
increase-cache-size-warning-threshold.txt Create increase-cache-size-warning-threshold.txt 2024-09-16 13:33:20 -06:00
load-generated-css-in-head.txt Create load-generated-css-in-head.txt 2020-07-16 22:35:32 -06:00
move-injection-point-CSS.txt Create move-injection-point-CSS.txt 2024-05-22 15:04:41 -06:00
purge-cache-when-over-256mb-in-size.txt Create purge-cache-when-over-256mb-in-size.txt 2020-07-16 22:32:27 -06:00
README.md Update README.md 2025-05-28 15:19:38 -06:00
remove-closing-slash-add-eol.txt Create remove-closing-slash-add-eol.txt 2023-01-19 08:05:06 -07:00
use-different-cdn-urls-statically.txt Create use-different-cdn-urls-statically.txt 2021-07-29 14:03:57 -06:00

Autoptimize code snippets

Tested version of WordPress 6.8.1, plugin version was Autoptimize 3.1.13.

This file is a code snippet that is used for Autoptimize 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.