WP_Object_Cache::reset

Advertisement

Deprecated Deprecated

This method has been deprecated. Use switch_to_blog() instead.

Summery Summery

Resets cache keys.

Syntax Syntax

WP_Object_Cache::reset()

Source Source

File: wp-includes/class-wp-object-cache.php

		$id = $key;
		if ( $this->multisite && ! isset( $this->global_groups[ $group ] ) ) {
			$id = $this->blog_prefix . $key;
		}

		if ( ! $this->_exists( $id, $group ) ) {
			return false;
		}

Advertisement

Changelog Changelog

Changelog
Version Description
3.5.0 Use switch_to_blog()
3.0.0 Introduced.

See also See also

Advertisement

Leave a Reply

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