Advertisements

wp_schedule_update_checks

Definition:
function wp_schedule_update_checks() {}

Schedule core, theme, and plugin update checks.

Source code

function wp_schedule_update_checks() {

	if ( !wp_next_scheduled('wp_version_check') && !defined('WP_INSTALLING') )

		wp_schedule_event(time(), 'twicedaily', 'wp_version_check');



	if ( !wp_next_scheduled('wp_update_plugins') && !defined('WP_INSTALLING') )

		wp_schedule_event(time(), 'twicedaily', 'wp_update_plugins');



	if ( !wp_next_scheduled('wp_update_themes') && !defined('WP_INSTALLING') )

		wp_schedule_event(time(), 'twicedaily', 'wp_update_themes');

}

10962

Advertisements

No comments yet... Be the first to leave a reply!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: