WordPress at a glance
function is not described

wp_cache_init() WP 2.0.0

Sets up Object Cache Global and assigns it.

No Hooks.

Return

Null. Nothing.

Usage

wp_cache_init();

Notes

  • Global. WP_Object_Cache. $wp_object_cache

Changelog

Since 2.0.0 Introduced.

Code of wp cache init: wp-includes/cache.php WP 5.2.2

<?php
function wp_cache_init() {
	$GLOBALS['wp_object_cache'] = new WP_Object_Cache();
}