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

(int|string) (Required) Cache key to check for existence.

$group

(string) (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

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

What are you looking for?