jp_purge_transients_activation

Jetpack Purge Transients Activation.

Description

jp_purge_transients_activation(); 

Usage

  1. if ( !function_exists( 'jp_purge_transients_activation' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'jetpack-by-wordpress-com/modules/protect/transient-cleanup.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = jp_purge_transients_activation(); 
  7.  

Defined (1)

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

/modules/protect/transient-cleanup.php  
  1. function jp_purge_transients_activation() { 
  2. if ( !wp_next_scheduled( 'jp_purge_transients_cron' ) ) { 
  3. wp_schedule_event( time(), 'daily', 'jp_purge_transients_cron' );