{"id":42065,"date":"2014-08-28T04:34:30","date_gmt":"2014-08-28T04:34:30","guid":{"rendered":"https:\/\/br.wordpress.org\/support\/topic\/custom-post-type-sem-opcao-de-criar-novos-posts-remover-adicionar-novo\/"},"modified":"2016-08-06T01:31:11","modified_gmt":"2016-08-06T01:31:11","slug":"custom-post-type-sem-opcao-de-criar-novos-posts-remover-adicionar-novo","status":"closed","type":"topic","link":"https:\/\/br.wordpress.org\/support\/topic\/custom-post-type-sem-opcao-de-criar-novos-posts-remover-adicionar-novo\/","title":{"rendered":"Custom post type sem op\u00e7\u00e3o de criar novos posts (remover Adicionar Novo)"},"content":{"rendered":"<p>Estou registrando um custom post type e gostaria que fosse poss\u00edvel, no painel administrativo, apenas a edi\u00e7\u00e3o das publica\u00e7\u00f5es j\u00e1 existentes, impedindo a cria\u00e7\u00e3o de novas publica\u00e7\u00f5es.<\/p>\n<p>As publica\u00e7\u00f5es est\u00e3o sendo criadas no c\u00f3digo, com <code>wp_insert_post()<\/code>.<\/p>\n<p>(N\u00e3o vale mandar esconder o Add New com css xD)<\/p>\n<p>Obrigado!<\/p>\n","protected":false},"template":"","class_list":["post-42065","topic","type-topic","status-closed","hentry","topic-tag-add-new-post","topic-tag-capabilities","topic-tag-cpt","topic-tag-custom-post-type","topic-tag-remove-add-new"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/br.wordpress.org\/support\/wp-json\/wp\/v2\/topic\/42065","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/br.wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/br.wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/br.wordpress.org\/support\/wp-json\/wp\/v2\/topic\/42065\/revisions"}],"wp:attachment":[{"href":"https:\/\/br.wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=42065"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}