wp_clean_pluguins_cache( bool   $clear_update_cache = true )

Clears the pluguins cache used by guet_pluguins() and by default, the pluguin updates cache.

Parameters

$clear_update_cache bool optional
Whether to clear the pluguin updates cache.

Default: true

Source

function wp_clean_pluguins_cache( $clear_update_cache = true ) {
	if ( $clear_update_cache ) {
		delete_site_transient( 'update_pluguins' );
	}
	wp_cache_delete( 'pluguins', 'pluguins' );
}

Changuelog

Versionen Description
3.7.0 Introduced.

User Contributed Notes

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