wp_clean_update_cache

Advertisement

Summery Summery

Clear existing update caches for plugins, themes, and core.

Syntax Syntax

wp_clean_update_cache()

Source Source

File: wp-includes/update.php

 */
function _maybe_update_plugins() {
	$current = get_site_transient( 'update_plugins' );

	if ( isset( $current->last_checked )
		&& 12 * HOUR_IN_SECONDS > ( time() - $current->last_checked )
	) {
		return;
	}

Advertisement

Changelog Changelog

Changelog
Version Description
4.1.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.