Hi - does that mean the add_filter you supplied won’t work after all?
…and - just as an aside, for something like this (or other things like this) is there an easy way via mainWP to update a bunch of sites’ function.php files with similar code in one go (albeit very carefully)?
The constant was the method used before but the filter method will work. I would recommend to use the code snippets extension instead of dealing with updating the functions.php file on a bunch of active child themes sites.
Ok thanks - so that constant you first mentioned has been changed then? That’s all I was looking for confirmation of (and if so, I appreciate it may well change again when 5.5 is released)
WordPress® is a registered trademark of the WordPress Foundation, and WooCommerce® is a registered trademark of WooCommerce, Inc. MainWP is an independent product and is not affiliated, associated, or endorsed by the WordPress Foundation, WooCommerce, Inc., or Automattic Inc., except where noted under the Jetpack® API and Trademark License Agreement. All product names, logos, and brands are property of their respective owners and are used for identification purposes only.