| Server IP : 13.126.101.145 / Your IP : 216.73.217.50 Web Server : Apache/2.4.52 (Ubuntu) System : Linux ip-11-115-0-196 6.8.0-1039-aws #41~22.04.1-Ubuntu SMP Thu Sep 11 10:54:48 UTC 2025 x86_64 User : www-data ( 33) PHP Version : 8.3.17 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /var/www/html/rentals_updated/wp-content/plugins/wpo365-login/Core/ |
Upload File : |
<?php
namespace Wpo\Core;
// Prevent public access to this script
defined('ABSPATH') or die();
if (!class_exists('\Wpo\Core\Cron_Helpers')) {
class Cron_Helpers
{
/**
* Adds custom named cron schedules
*
* @since 10.0
*
* @param $schedules Array of already defined
*/
public static function add_cron_schedules($schedules)
{
$schedules['wpo_every_minute'] = array(
'interval' => 60,
'display' => __('Every minute', 'wpo365-login')
);
$schedules['wpo_five_minutes'] = array(
'interval' => 300,
'display' => __('Every 5 minutes', 'wpo365-login')
);
$schedules['wpo_daily'] = array(
'interval' => 86400,
'display' => __('WPO365 Daily', 'wpo365-login')
);
$schedules['wpo_weekly'] = array(
'interval' => 604800,
'display' => __('WPO365 Weekly', 'wpo365-login')
);
return $schedules;
}
}
}