{"id":11911630,"date":"2019-09-08T18:30:35","date_gmt":"2019-09-08T18:30:35","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/hiding-categories-modifying-functions-php\/"},"modified":"2019-09-08T18:31:47","modified_gmt":"2019-09-08T18:31:47","slug":"hiding-categories-modifying-functions-php","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/hiding-categories-modifying-functions-php\/","title":{"rendered":"hiding categories \/ modifying functions.php"},"content":{"rendered":"<p>Hi,<\/p>\n<p>Looking for hours a way to hide some ID categories on all posts (i&#8217;m using those categories only to manage my posts on dashboard).<br \/>\nTried plug-ins to do that, but not worked.<\/p>\n<p>I&#8217;m not a coder, but i saw possible solutions by adding some php code in functions.php file.<br \/>\nI&#8217;m not working on a child theme. So, what happen to the next OceanWP update ? Will my eventually custom code added to function.php will be erased ?<\/p>\n<p>Any idea ?<br \/>\nThanks !<\/p>\n","protected":false},"template":"","class_list":["post-11911630","topic","type-topic","status-publish","hentry","topic-tag-category","topic-tag-function-php","topic-tag-hide"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/11911630","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":1,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/11911630\/revisions"}],"predecessor-version":[{"id":11911633,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/11911630\/revisions\/11911633"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=11911630"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}