{"id":5880361,"date":"2015-03-09T23:51:58","date_gmt":"2015-03-09T23:51:58","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/plugin-programming-adapting-the-posts-menu\/"},"modified":"2016-08-22T17:50:30","modified_gmt":"2016-08-22T17:50:30","slug":"plugin-programming-adapting-the-posts-menu","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/plugin-programming-adapting-the-posts-menu\/","title":{"rendered":"Adapting the &#039;Posts&#039; menu"},"content":{"rendered":"<p>Hi,<\/p>\n<p>I&#8217;m creating a WordPress plugin.<br \/>\nI want the plugin to have a &#8216;Products&#8217; menu in the WordPress back-end (admin) section where you can view\/add\/edit\/delete products.<br \/>\nThe pages to manage these products should be nearly the same was those of the standard WordPress &#8216;Posts&#8217; (where you can manage your posts).<\/p>\n<p>Here comes my question:<br \/>\nCan I just copy the existing php files that make up the &#8216;Posts&#8217; menu and modify them? Or is this bad practice?<br \/>\nOr would it be better to just start from scratch?<\/p>\n<p>Thanks!<\/p>\n","protected":false},"template":"","class_list":["post-5880361","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/5880361","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\/5880361\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=5880361"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}