{"id":12678826,"date":"2020-04-15T15:27:00","date_gmt":"2020-04-15T15:27:00","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/do-not-cache-custom-php-code\/"},"modified":"2020-04-15T15:29:18","modified_gmt":"2020-04-15T15:29:18","slug":"do-not-cache-custom-php-code","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/do-not-cache-custom-php-code\/","title":{"rendered":"do not cache custom php code"},"content":{"rendered":"<p>hello. there is way to declare: do not cache custom php code. i had to put random text output in footer template. can i have an example ? something like this i want:<\/p>\n<p><code>if do not cache() { echo &#039;rand text&#039;; } else {}<\/code><\/p>\n<p>thank you<\/p>\n","protected":false},"template":"","class_list":["post-12678826","topic","type-topic","status-publish","hentry","topic-tag-super-cache"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/12678826","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":2,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/12678826\/revisions"}],"predecessor-version":[{"id":12678839,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/12678826\/revisions\/12678839"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=12678826"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}