wp-includes/cache.php


Lines:

1 to 57 of 57
<?php

/**
 * Object Cache API
 *
 * @link https://developer.wordpress.org/reference/classes/wp_object_cache/
 *
 * @package WordPress
 * @subpackage Cache
 */


/** WP_Object_Cache class */
require_once ABSPATH . WPINC . '/class-wp-object-cache.php';

/* function wp_cache_init() – Sets up Object Cache Global and assigns it. */

/* function wp_cache_add() – Adds data to the cache, if the cache key doesn’t already exist. */

/* function wp_cache_add_multiple() – Adds multiple values to the cache in one call, if the cache keys don’t already exist. */

/* function wp_cache_replace() – Replaces the contents of the cache with new data. */

/* function wp_cache_set() – Saves the data to the cache. */

/* function wp_cache_set_multiple() – Sets multiple values to the cache in one call. */

/* function wp_cache_get() – Retrieves the cache contents from the cache by key and group. */

/* function wp_cache_get_multiple() – Retrieves multiple values from the cache in one call. */

/* function wp_cache_delete() – Removes the cache contents matching key and group. */

/* function wp_cache_delete_multiple() – Deletes multiple values from the cache in one call. */

/* function wp_cache_incr() – Increment numeric cache item’s value */

/* function wp_cache_decr() – Decrements numeric cache item’s value. */

/* function wp_cache_flush() – Removes all cache items. */

/* function wp_cache_flush_runtime() – Removes all cache items from the in-memory runtime cache. */

/* function wp_cache_flush_group() – Removes all cache items in a group, if the object cache implementation supports it. */

/* function wp_cache_supports() – Determines whether the object cache implementation supports a particular feature. */

/* function wp_cache_close() – Closes the cache. */

/* function wp_cache_add_global_groups() – Adds a group or set of groups to the list of global groups. */

/* function wp_cache_add_non_persistent_groups() – Adds a group or set of groups to the list of non-persistent groups. */

/* function wp_cache_switch_to_blog() – Switches the internal blog ID. */

/* function wp_cache_reset() – Resets internal cache keys and structures. */
 

 View on GitHub View on Trac

Called by

    Invoked by

      Calls

      Call hooks

      API Letters: ,,,