{"id":5475883,"date":"2014-11-12T23:50:14","date_gmt":"2014-11-12T23:50:14","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/adding-new-rows\/"},"modified":"2016-08-22T12:31:36","modified_gmt":"2016-08-22T12:31:36","slug":"adding-new-rows","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/adding-new-rows\/","title":{"rendered":"Adding New Rows"},"content":{"rendered":"<p>In this plugin example, the table data is hardcoded into the PHP.<\/p>\n<p>But what if I want to add table data dynamically, from the WordPress admin? What I have in mind is similar to the &#8220;Add New&#8221; link you see on Pages, Posts, and many other pages.<\/p>\n<p>I&#8217;m okay with having all table data stored in the database, and would like to avoid storing any of the data in the PHP file.<\/p>\n<p>What&#8217;s the best approach for this?<\/p>\n<p>https:\/\/wordpress.org\/plugins\/custom-list-table-example\/<\/p>\n","protected":false},"template":"","class_list":["post-5475883","topic","type-topic","status-closed","hentry","topic-tag-database","topic-tag-pages","topic-tag-posts","topic-tag-wp_list_table"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/5475883","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\/5475883\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=5475883"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}