{"id":11646627,"date":"2019-06-17T20:22:28","date_gmt":"2019-06-17T20:22:28","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/powered_cache_cap-use\/"},"modified":"2019-06-17T20:22:28","modified_gmt":"2019-06-17T20:22:28","slug":"powered_cache_cap-use","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/powered_cache_cap-use\/","title":{"rendered":"powered_cache_cap use?"},"content":{"rendered":"<p>Hi there,<\/p>\n<p>I have been trying to use the &#8220;powered_cache_cap&#8221; filter to extend the use of the plugin for editors. But I can&#8217;t get it to work, because my OOP knowledge is limited and I can&#8217;t properly change the $capability variable. Do I have to extend the class to be able to change the $capability. Do I have to access the setup() method?<\/p>\n<p>Some help would be greatly appreciated.<\/p>\n<p>Thank you!<\/p>\n","protected":false},"template":"","class_list":["post-11646627","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/11646627","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\/11646627\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=11646627"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}