PK œqhYî¶J‚ßFßF)nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/ $#$#$#

Dir : /home/trave494/yourdogstore.kerihosting.com/wp-content/plugins/wp-automatic/
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
IP: 209.182.202.254
Choose File :

Url:
Dir : /home/trave494/yourdogstore.kerihosting.com/wp-content/plugins/wp-automatic/automatic_schedule.php

<?php


add_filter ( 'cron_schedules', 'wp_automatic_once_a_minute' );
function wp_automatic_once_a_minute($schedules) {
	
	// Adds once weekly to the existing schedules.
	$schedules ['once_a_minute'] = array (
			'interval' => 60,
			'display' => __ ( 'once a minute' ) 
	);
	return $schedules;
}

if (! wp_next_scheduled ( 'wp_automatic_hook' )) {
	wp_schedule_event ( time (), 'once_a_minute', 'wp_automatic_hook' );
}

add_action ( 'wp_automatic_hook', 'wp_automatic_function' );
function wp_automatic_function() {
	
  
	$opt = get_option ( 'wp_automatic_options', array ('OPT_CRON') );
	if (in_array ( 'OPT_CRON', $opt )) {
		
		// Camapign processor 
		require_once dirname(__FILE__) . '/campaignsProcessor.php';
		$CampaignProcessor = new CampaignProcessor() ;
		
		
		// Trigger Processing
		$CampaignProcessor->process_campaigns(false);
 	
	} else {
		
	}

}