{"id":15035510,"date":"2021-11-04T09:12:04","date_gmt":"2021-11-04T09:12:04","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/learning-super-simple-plugin\/"},"modified":"2021-11-04T10:54:38","modified_gmt":"2021-11-04T10:54:38","slug":"learning-super-simple-plugin","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/learning-super-simple-plugin\/","title":{"rendered":"Learning: Super simple plugin"},"content":{"rendered":"<p>Hello<br \/>\nI want to learn a little more about how plugins work.<\/p>\n<p>Is it possible for one of you to send me some code to a plugin which is doing the following<br \/>\n:<br \/>\n1. Backend with one ore two forms (for example category: Fruit and Fruit: Bananas, Apples and so on)<br \/>\n   2. Maybe &#8211; if possible &#8211; for the frontend the same (just for logged in users?)<br \/>\n3. So that Thing-A and Thing-B is written into a db table?<\/p>\n<p>I&#8217;m a learning by doing person and many tutorials are build up so that they show one thing, but not the combination of these.<br \/>\nIt would be nice if some has the time to show me some simple code to this so that I can learn more about how its working.<\/p>\n<p>Thank you so much!<\/p>\n","protected":false},"template":"","class_list":["post-15035510","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/15035510","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":1,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/15035510\/revisions"}],"predecessor-version":[{"id":15035857,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/15035510\/revisions\/15035857"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=15035510"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}