nxs_activation

The NextScripts: Social Networks Auto-Poster nxs activation function.

Description

nxs_activation(); 

Usage

  1. if ( !function_exists( 'nxs_activation' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'nextscripts-social-networks-auto-poster/nxs_functions.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = nxs_activation(); 
  7.  

Defined (1)

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

/nxs_functions.php  
  1. function nxs_activation() { if (!wp_next_scheduled('nxs_hourly_event')) {wp_schedule_event(time(), 'hourly', 'nxs_hourly_event');} if (!wp_next_scheduled('nxs_querypost_event')) {wp_schedule_event(time(), 'nxsreposter', 'nxs_querypost_event');} }