wcmp_spmv_excluded_products_map from

WCMp Core

Resolved
Viewing 1 reply thread
  • Author
    Posts
    • #132479
      l.gan
      Participant

      hi i have a problem with cron.
      I installed the plugin WP Crontrol, and then changed the launch of the cron
      wcmp_spmv_excluded_products_map from “every 5 minutes” to “non-repetitive”. I save the resuoltat, but the changes are not saved and the krona runs again every 5 minutes.

      maybe this cron uses some other event?
      I do not use this plugin feature. Tell me how can I turn it off?

      Thank you

    • #132557

      Hi,
      kindly add below code to your function and check

      add_action('init', 'wcmp_custom');
      function wcmp_custom(){
          global $WCMp;
          remove_action('wcmp_spmv_excluded_products_map', array($WCMp->cron_job, 'wcmp_spmv_excluded_products_map'));
          wp_clear_scheduled_hook('wcmp_spmv_excluded_products_map');
      
      }
      Copy

      Regards,

Viewing 1 reply thread

The topic ‘wcmp_spmv_excluded_products_map from’ is closed to new replies.