{"id":5145718,"date":"2014-07-31T02:25:20","date_gmt":"2014-07-31T02:25:20","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/empty-custom-field-for-a-category\/"},"modified":"2016-08-21T23:46:49","modified_gmt":"2016-08-21T23:46:49","slug":"empty-custom-field-for-a-category","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/empty-custom-field-for-a-category\/","title":{"rendered":"Empty Custom Field for a Category"},"content":{"rendered":"<p>Hi guys, this is what I want to do&#8230;..<\/p>\n<p>If a custom field for a category of a taxonomy type is empty add the following value&#8230;<\/p>\n<p>How can I write that to use it in wordpress and where should I add that code&#8230;<\/p>\n<p>Thanks<\/p>\n","protected":false},"template":"","class_list":["post-5145718","topic","type-topic","status-closed","hentry","topic-tag-custom-field","topic-tag-post-type","topic-tag-taxonomy"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/5145718","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\/5145718\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=5145718"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}