Code run fast on a cronjob but slow with a do_action or ajax call
In cPanel run hosting environments you might have one PHP version used for your web applications but another one used for WP-CLI. Checking the PHP version, used by WP-CLI is done by running wp –info. You can check your PHP version in WordPress by going to the Health Check status page. It should be warning … Read more