sfw_remote_get_cached

Description

Requests and returns a cached api resource

It is recommended to provide a cache object to optimize the performance.

Since: 1.0.0

Code

<?php function sfw_remote_get_cached( $args ){ 
	 … 
 } ?>

Parameter

$args
(array)

Return

(false|WP_Error|object) Returns data on success. Returns WP_Error on failure if transmit_errors is set true, else returns boolean false

File

core/includes/functions-api.php