Skip to content
  • Log In
  • Register
WordPress.org
  • News
  • Download & Extend
    • Get WordPress
    • Themes
    • Patterns
    • Plugins
    • Openverse
    • Mobile
    • Hosting
  • Learn
    • Learn WordPress
    • Documentation
    • Forums
    • WordPress.tv
    • Developers
  • Community
    • Make WordPress
    • WordCamp
    • Meetups
    • Photo Directory
    • Job Board
    • Five for the Future
  • About
    • About WordPress
    • Showcase
    • Gutenberg
    • Enterprise
  • Get WordPress
Get WordPress

Developer Resources

Browse: Home / Reference / wp-includes/class-wp-object-cache.php

WP_Object_Cache::flush_group()

Method: Removes all cache items in a group.

Source: wp-includes/class-wp-object-cache.php:573

Used by 1 function | Uses 0 functions

WP_Object_Cache::is_valid_key()

Method: Serves as a utility function to determine whether a key is valid.

Source: wp-includes/class-wp-object-cache.php:141

Used by 7 functions | Uses 3 functions

WP_Object_Cache::delete_multiple()

Method: Deletes multiple values from the cache in one call.

Source: wp-includes/class-wp-object-cache.php:456

Used by 1 function | Uses 1 function

WP_Object_Cache::set_multiple()

Method: Sets multiple values to the cache in one call.

Source: wp-includes/class-wp-object-cache.php:334

Used by 1 function | Uses 1 function

WP_Object_Cache::add_multiple()

Method: Adds multiple values to the cache in one call.

Source: wp-includes/class-wp-object-cache.php:236

Used by 1 function | Uses 1 function

WP_Object_Cache::get_multiple()

Method: Retrieves multiple values from the cache in one call.

Source: wp-includes/class-wp-object-cache.php:403

Used by 1 function | Uses 1 function

WP_Object_Cache::__isset()

Method: Makes private properties checkable for backward compatibility.

Source: wp-includes/class-wp-object-cache.php:118

Used by 0 functions | Uses 0 functions

WP_Object_Cache::__unset()

Method: Makes private properties un-settable for backward compatibility.

Source: wp-includes/class-wp-object-cache.php:129

Used by 0 functions | Uses 0 functions

WP_Object_Cache::__get()

Method: Makes private properties readable for backward compatibility.

Source: wp-includes/class-wp-object-cache.php:93

Used by 0 functions | Uses 0 functions

WP_Object_Cache::__set()

Method: Makes private properties settable for backward compatibility.

Source: wp-includes/class-wp-object-cache.php:106

Used by 0 functions | Uses 0 functions

WP_Object_Cache::stats()

Method: Echoes the stats of the caching.

Source: wp-includes/class-wp-object-cache.php:634

Used by 0 functions | Uses 1 function

WP_Object_Cache::switch_to_blog()

Method: Switches the internal blog ID.

Source: wp-includes/class-wp-object-cache.php:602

Used by 1 function | Uses 0 functions

WP_Object_Cache::_exists()

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

Source: wp-includes/class-wp-object-cache.php:179

Used by 6 functions | Uses 0 functions

WP_Object_Cache::decr()

Method: Decrements numeric cache item’s value.

Source: wp-includes/class-wp-object-cache.php:520

Used by 1 function | Uses 2 functions

WP_Object_Cache::__construct()

Method: Sets up object properties; PHP 5 style constructor.

Source: wp-includes/class-wp-object-cache.php:80

Used by 1 function | Uses 2 functions

WP_Object_Cache::delete()

Method: Removes the contents of the cache key in the group.

Source: wp-includes/class-wp-object-cache.php:425

Used by 2 functions | Uses 2 functions

WP_Object_Cache::flush()

Method: Clears the object cache of all data.

Source: wp-includes/class-wp-object-cache.php:559

Used by 1 function | Uses 0 functions

WP_Object_Cache::get()

Method: Retrieves the cache contents, if it exists.

Source: wp-includes/class-wp-object-cache.php:363

Used by 2 functions | Uses 2 functions

WP_Object_Cache::incr()

Method: Increments numeric cache item’s value.

Source: wp-includes/class-wp-object-cache.php:477

Used by 1 function | Uses 2 functions

WP_Object_Cache::replace()

Method: Replaces the contents in the cache, if contents already exist.

Source: wp-includes/class-wp-object-cache.php:260

Used by 1 function | Uses 3 functions

WP_Object_Cache::reset()

Method: Resets cache keys.

Source: wp-includes/class-wp-object-cache.php:615

Used by 1 function | Uses 1 function

WP_Object_Cache::set()

Method: Sets the data contents into the cache.

Source: wp-includes/class-wp-object-cache.php:302

Used by 4 functions | Uses 1 function

WP_Object_Cache

Class: Core class that implements an object cache.

Source: wp-includes/class-wp-object-cache.php:25

Used by 0 functions | Uses 0 functions

WP_Object_Cache::add()

Method: Adds data to the cache if it doesn’t already exist.

Source: wp-includes/class-wp-object-cache.php:199

Used by 2 functions | Uses 4 functions

WP_Object_Cache::add_global_groups()

Method: Sets the list of global cache groups.

Source: wp-includes/class-wp-object-cache.php:586

Used by 1 function | Uses 0 functions
  • About
  • News
  • Hosting
  • Donate
  • Swag
  • Documentation
  • Developers
  • Get Involved
  • Learn
  • Showcase
  • Plugins
  • Themes
  • Patterns
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privacy
  • Public Code
WordPress.org
WordPress.org
  • Visit our Facebook page
  • Visit our Twitter account
  • Visit our Instagram account
  • Visit our LinkedIn account
Code is Poetry