WP_Upgrader::schedule_temp_backup_cleanup()

In this article

Schedules the cleanup of the temporary backup directory.

Source

protected function schedule_temp_backup_cleanup() {
	if ( false === wp_next_scheduled( 'wp_delete_temp_updater_backups' ) ) {
		wp_schedule_event( time(), 'weekly', 'wp_delete_temp_updater_backups' );
	}
}

Changelog

VersionDescription
6.3.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.