{"id":13680215,"date":"2020-11-18T23:07:04","date_gmt":"2020-11-18T23:07:04","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/disable-premium\/"},"modified":"2020-11-18T23:07:04","modified_gmt":"2020-11-18T23:07:04","slug":"disable-premium","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/disable-premium\/","title":{"rendered":"Disable Premium"},"content":{"rendered":"<p>I&#8217;d like to be able to disable premium banks. I added this code to functions.php.<\/p>\n<p>However it doesn&#8217;t seem to work.  Syntax error?<\/p>\n<p>function stockpack_providers( $providers ) {<br \/>\nreturn [<br \/>\n&#8216;Pexels\u2019 =&gt; __( &#8216;Pexels&#8217;, &#8216;stockpack&#8217; ),<br \/>\n&#8216;Pixabay&#8217; =&gt; __( &#8216;Pixabay&#8217;, &#8216;stockpack&#8217; ),<br \/>\n&#8216;Unsplash&#8217; =&gt; __( &#8216;Unsplash&#8217;, &#8216;stockpack&#8217; ),<br \/>\n];<br \/>\n}<\/p>\n<p>add_filter( \u2018stockpack_providers\u2019, \u2018stockpack_providers\u2019, 20, 1 );<\/p>\n","protected":false},"template":"","class_list":["post-13680215","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/13680215","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\/13680215\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=13680215"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}