WordPress at a glance
function is not described

wp_using_ext_object_cache() WP 3.7.0

Toggle $_wp_using_ext_object_cache on and off without directly touching global.

  • Global. true/false. $_wp_using_ext_object_cache

No Hooks.

Return

true/false. The current 'using' setting.

Usage

wp_using_ext_object_cache( $using );
$using(true/false)
Whether external object cache is being used.
Default: null

Code of wp using ext object cache: wp-includes/load.php VER 5.0.3

<?php
function wp_using_ext_object_cache( $using = null ) {
	global $_wp_using_ext_object_cache;
	$current_using = $_wp_using_ext_object_cache;
	if ( null !== $using )
		$_wp_using_ext_object_cache = $using;
	return $current_using;
}