init_wysija_cron

The MailPoet Newsletters init wysija cron function.

Description

init_wysija_cron(); 

Usage

  1. if ( !function_exists( 'init_wysija_cron' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'mailpoet-newsletters/core/base.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = init_wysija_cron(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/core/base.php  
  1. function init_wysija_cron() { 
  2. $hCron=WYSIJA::get('cron', 'helper'); 
  3. $hCron->run();