{"id":11206527,"date":"2019-02-14T15:55:07","date_gmt":"2019-02-14T15:55:07","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/clear-cache-programmatically-4\/"},"modified":"2019-02-14T15:55:07","modified_gmt":"2019-02-14T15:55:07","slug":"clear-cache-programmatically-4","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/clear-cache-programmatically-4\/","title":{"rendered":"Clear cache programmatically"},"content":{"rendered":"<p>For one of our websites we import data via a php script. Depending on the import, we need to manually clear the entire cache, or selected pages only.<\/p>\n<p>Is there a way to do this, preferably directly in php (without WordPress interfaces)?<br \/>\nIs it sufficient to simply delete (some) files?<\/p>\n","protected":false},"template":"","class_list":["post-11206527","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/11206527","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":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/11206527\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=11206527"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}