I am making a plugin that make a HTTP call to my API, I want this call be cached an tried using this way:
When I run this code (this php file are inside my plugin) I am getting
“Fatal error: Uncaught Error: Call to undefined function
I have to maque a require from wp-includes.php cache file? Or maybe I am missing something.