wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



wp_schedule_update_checks › WordPress Function

Da3.1.0
Deprecaton/a
wp_schedule_update_checks ( Nessun parametro )
Definito a:
Codex:

Schedules core, theme, and plugin update checks.



Sorgenti

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' );
	}
}