1. Documentation /
  2. Experiments

Experiments

Over time, we will implement experiments into the plugin.

CAUTION

Experimental code may be changed or removed without prior notice.

Defer the WPM script ↑ Back to top

INFO

From version 1.15.0

There are many JavaScript optimization plugins that can defer scripts. We thought it might be a good idea to offer this option natively in our plugin. For now, this can be done using an experimental filter.

add_filter('wpm_experimental_defer_scripts', '__return_true');

Move the WPM script to the footer ↑ Back to top

INFO

From version 1.15.0

With this filter, you can move the WPM script from the header to the footer. It is similar to deferring the script.

add_filter('wpm_experimental_move_wpm_script_to_footer', '__return_true');

WooCommerce

The most customizable eCommerce platform for building your online business.

  • 30 day money back guarantee
  • Support teams across the world
  • Safe & Secure online payment