{"id":3721,"date":"2014-04-25T06:05:21","date_gmt":"2014-04-25T06:05:21","guid":{"rendered":"http:\/\/developer.wordpress.org\/reference\/functions\/wp_cache_add\/"},"modified":"2026-05-20T22:19:22","modified_gmt":"2026-05-20T22:19:22","slug":"wp_cache_add","status":"publish","type":"wp-parser-function","link":"https:\/\/developer.wordpress.org\/reference\/functions\/wp_cache_add\/","title":{"rendered":"wp_cache_add()"},"excerpt":{"rendered":"<p>Adds data to the cache, if the cache key doesn&#8217;t already exist.<\/p>\n","protected":false},"comment_status":"open","ping_status":"open","template":"","meta":{"footnotes":""},"wp-parser-source-file":[213],"wp-parser-package":[214,3],"wp-parser-since":[14],"class_list":["post-3721","wp-parser-function","type-wp-parser-function","status-publish","hentry","wp-parser-source-file-wp-includes_cache-php","wp-parser-package-cache","wp-parser-package-wordpress","wp-parser-since-2-0-0"],"revision_note":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-function\/3721","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-function"}],"about":[{"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/types\/wp-parser-function"}],"replies":[{"embeddable":true,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/comments?post=3721"}],"version-history":[{"count":1,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-function\/3721\/revisions"}],"predecessor-version":[{"id":18729,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-function\/3721\/revisions\/18729"}],"wp:attachment":[{"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/media?parent=3721"}],"wp:term":[{"taxonomy":"wp-parser-source-file","embeddable":true,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-source-file?post=3721"},{"taxonomy":"wp-parser-package","embeddable":true,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-package?post=3721"},{"taxonomy":"wp-parser-since","embeddable":true,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-since?post=3721"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}