wp_using_ext_object_cache() – Toggle `$_wp_using_ext_object_cache` on and off without directly touching global.
You appear to be a bot. Output may be restricted
Description
Toggle $_wp_using_ext_object_cache
on and off without directly touching global.
Usage
$bool = wp_using_ext_object_cache( $using );
Parameters
- $using
- ( bool ) optional – Whether external object cache is being used.
Returns
bool The current 'using' setting.
Source
File name: wordpress/wp-includes/load.php
Lines:
1 to 8 of 8
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; }