nf_optin_send_admin_email_cron_job

The Ninja Forms nf optin send admin email cron job function.

Description

nf_optin_send_admin_email_cron_job(); 

Usage

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

Defined (1)

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

/ninja-forms.php  
  1. function nf_optin_send_admin_email_cron_job() { 
  2. if ( ! wp_next_scheduled( 'nf_optin_cron' ) ) { 
  3. wp_schedule_event( current_time( 'timestamp' ), 'nf-monthly', 'nf_optin_cron' );