{"id":1655329,"date":"2010-09-02T23:16:27","date_gmt":"2010-09-02T23:16:27","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/how-to-remove-the-default-css-classes\/"},"modified":"2016-08-19T19:25:22","modified_gmt":"2016-08-19T19:25:22","slug":"how-to-remove-the-default-css-classes","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/how-to-remove-the-default-css-classes\/","title":{"rendered":"How to remove the default css classes"},"content":{"rendered":"<p>I want to remove all the automatically added CSS classes to my menus (e.g. page-item, menu-item) since I&#8217;m using my own classes and I want to make the code smaller and cleaner. Any way to do it other than stripping them manually using something like preg_replace()?<\/p>\n","protected":false},"template":"","class_list":["post-1655329","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/1655329","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\/1655329\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=1655329"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}