wp_schedule_update_checks

Schedule core, theme, and plugin update checks.

Description

wp_schedule_update_checks(); 

Usage

  1. if ( !function_exists( 'wp_schedule_update_checks' ) ) { 
  2. require_once ABSPATH . WPINC . '/update.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = wp_schedule_update_checks(); 
  7.  

Defined (1)

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

/wp-includes/update.php  
  1. function wp_schedule_update_checks() { 
  2. wp_schedule_event(time(), 'twicedaily', 'wp_version_check'); 
  3.  
  4. wp_schedule_event(time(), 'twicedaily', 'wp_update_plugins'); 
  5.  
  6. wp_schedule_event(time(), 'twicedaily', 'wp_update_themes');