how to Update 15k products on plugin activation with meta_option
Based on Paul’s original comment, we moved the code execution to a custom wp-cli command. Which also allowed us add arguments and change code behaviour based on arguments. Example code for anyone, including WPML language specification via global $sitepress; $sitepress->switch_lang(“en”); … ‘suppress_filters’ => false, <?php /** * Registers CLI command csa * * Allows to … Read more