50% OFF Limited time deal!

wp_sms_pro_scheduled_interval

Updated on Aug 29, 2021

Overview

This filter allows you to modify the interval of scheduled cronjob time to 1 minute, the default interval time is 5 minutes.

Example

add_filter('wp_sms_pro_scheduled_interval', 'modifyScheduledInterval');

/**
 * @param $interval int
 * @return int
 */
function modifyScheduledInterval($interval)
{
    $interval = 1 * 60;

    return $interval;
}