{"id":10306128,"date":"2018-05-21T23:21:15","date_gmt":"2018-05-21T23:21:15","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/custom-taxonomy-show-in-rest-hide-in-gutenberg\/"},"modified":"2018-05-22T02:42:44","modified_gmt":"2018-05-22T02:42:44","slug":"custom-taxonomy-show-in-rest-hide-in-gutenberg","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/custom-taxonomy-show-in-rest-hide-in-gutenberg\/","title":{"rendered":"Custom Taxonomy &#8211; Show in REST, Hide in Gutenberg"},"content":{"rendered":"<p>I&#8217;ve created a custom taxonomy for my custom post type, but I have built a custom interface for assigning the tax (a drop-down as I want only max 1 term assigned) as part of a metabox for the CPT. I want to show the taxonomy in the Admin UI so it&#8217;s easy to add\/edit terms, but I want to hide the default chooser panel for the tax on the custom post type. In the classic editor, setting &#8216;meta_box_cb&#8217; =&gt; false does the trick, is there any similar way to do this in Gutenberg? I want to show the taxonomy in REST so I can build my custom selector functionality so I set &#8216;show_in_rest&#8217; =&gt; true, but then I get the default chooser in Gutenberg too (in its own panel under Document in the Inspector). how can I remove this?<\/p>\n","protected":false},"template":"","class_list":["post-10306128","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/10306128","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\/10306128\/revisions"}],"predecessor-version":[{"id":10306407,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/10306128\/revisions\/10306407"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=10306128"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}