WP_Object_Cache::_exists

Advertisement

Summery Summery

Serves as a utility function to determine whether a key exists in the cache.

Syntax Syntax

WP_Object_Cache::_exists( int|string $key, string $group )

Parameters Parameters

$key

(Required) Cache key to check for existence.

$group

(Required) Cache group for the key existence check.

Return Return

(bool) Whether the key exists in the cache for the given group.

Source Source

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

	 *
	 * This changes the blog ID used to create keys in blog specific groups.
	 *

Advertisement

Changelog Changelog

Changelog
Version Description
3.4.0 Introduced.

Advertisement

Leave a Reply