Title: wp_schedule_update_checks
Published: April 25, 2014
Last modified: August 20, 2026

---

# wp_schedule_update_checks()

## In this article

 * [Source](https://developer.wordpress.org/reference/functions/wp_schedule_update_checks/?output_format=md#source)
 * [Related](https://developer.wordpress.org/reference/functions/wp_schedule_update_checks/?output_format=md#related)
 * [Changelog](https://developer.wordpress.org/reference/functions/wp_schedule_update_checks/?output_format=md#changelog)

[ Back to top](https://developer.wordpress.org/reference/functions/wp_schedule_update_checks/?output_format=md#wp--skip-link--target)

Schedules core, theme, and plugin update checks.

## 󠀁[Source](https://developer.wordpress.org/reference/functions/wp_schedule_update_checks/?output_format=md#source)󠁿

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

[View all references](https://developer.wordpress.org/reference/files/wp-includes/update.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/7.1/src/wp-includes/update.php#L1089)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/update.php#L1089-L1101)

## 󠀁[Related](https://developer.wordpress.org/reference/functions/wp_schedule_update_checks/?output_format=md#related)󠁿

| Uses | Description | 
| [wp_installing()](https://developer.wordpress.org/reference/functions/wp_installing/)`wp-includes/load.php` |

Checks or sets whether WordPress is in “installation” mode.

  | 
| [wp_next_scheduled()](https://developer.wordpress.org/reference/functions/wp_next_scheduled/)`wp-includes/cron.php` |

Retrieves the timestamp of the next scheduled event for the given hook.

  | 
| [wp_schedule_event()](https://developer.wordpress.org/reference/functions/wp_schedule_event/)`wp-includes/cron.php` |

Schedules a recurring event.

  |

## 󠀁[Changelog](https://developer.wordpress.org/reference/functions/wp_schedule_update_checks/?output_format=md#changelog)󠁿

| Version | Description | 
| [3.1.0](https://developer.wordpress.org/reference/since/3.1.0/) | Introduced. |

## User Contributed Notes

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Ffunctions%2Fwp_schedule_update_checks%2F)
before being able to contribute a note or feedback.