{"id":13814328,"date":"2020-12-20T16:45:09","date_gmt":"2020-12-20T16:45:09","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/solves-my-problem-4\/"},"modified":"2020-12-20T16:45:09","modified_gmt":"2020-12-20T16:45:09","slug":"solves-my-problem-4","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/solves-my-problem-4\/","title":{"rendered":"Solves my problem"},"content":{"rendered":"<p>Excellent plugin, thanks. One thing I&#8217;m adding to my implementation is to expose the taxonomy via API.<\/p>\n<p>register_taxonomy(&#8216;profession&#8217;, &#8216;user&#8217;, array(<br \/>\n  &#8230;<br \/>\n  &#8216;show_in_rest&#8217;          =&gt; true,<br \/>\n  &#8216;rest_base&#8217;             =&gt; &#8216;profession,<br \/>\n  &#8216;rest_controller_class&#8217; =&gt; &#8216;WP_REST_Terms_Controller&#8217;,<br \/>\n));<\/p>\n","protected":false},"template":"","class_list":["post-13814328","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/13814328","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\/13814328\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=13814328"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}