wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_schedule_update_checks › WordPress Function

Since3.1.0
Deprecatedn/a
wp_schedule_update_checks ( No parameters )
Defined at:
Codex:

Schedules core, theme, and plugin update checks.



Source

function wp_schedule_update_checks() {
	if ( ! wp_next_scheduled( 'wp_version_check' ) && ! wp_installing() ) {
		wp_schedule_event( time(), 'twicedaily', 'wp_version_check' );
	}

	if ( ! wp_next_scheduled( 'wp_update_plugins' ) && ! wp_installing() ) {
		wp_schedule_event( time(), 'twicedaily', 'wp_update_plugins' );
	}

	if ( ! wp_next_scheduled( 'wp_update_themes' ) && ! wp_installing() ) {
		wp_schedule_event( time(), 'twicedaily', 'wp_update_themes' );
	}
}