{"id":63775,"date":"2011-02-17T08:00:00","date_gmt":"2011-02-17T08:00:00","guid":{"rendered":"https:\/\/www.weixiaoduo.com\/plugins\/2024\/02\/22\/empty-plugin-template\/"},"modified":"2011-03-04T02:35:00","modified_gmt":"2011-03-04T02:35:00","slug":"empty-plugin-template","status":"publish","type":"post","link":"https:\/\/www.weixiaoduo.com\/plugins\/empty-plugin-template\/","title":{"rendered":"EPT Empty Plugin Template"},"content":{"rendered":"<p>STILL BETA Use this emtpy wordpress plugin template to build your own.<\/p>\n<p>Considering all the advices given in https:\/\/codex.wordpress.org\/Writing_a_Plugin, https:\/\/codex.wordpress.org\/Creating_Options_Pages and http:\/\/planetozh.com\/blog\/2009\/09\/top-10-most-common-coding-mistakes-in-wordpress-plugins\/<\/p>\n<p>Every important point will have it\u2019s own page to explain.<\/p>\n<h4>Including:<\/h4>\n<ul>\n<li>multi language ability<\/li>\n<li>uninstall routine<\/li>\n<li>data delete routine (avoid orphaned data)<\/li>\n<li>coding advices<\/li>\n<li>security aspects (validating user inputs, nonces)<\/li>\n<li>external third party stuff (Ajax, CSS, Javascript)<\/li>\n<li>shortcode<\/li>\n<li>WordPress scheduler (\u201ccronjob\u201d)<\/li>\n<li>logfiles<\/li>\n<li>capabilities<\/li>\n<\/ul>\n<h3>Remove plugin<\/h3>\n<ol>\n<li>Deactivate plugin through the \u2018Plugins\u2019 menu in WordPress<\/li>\n<li>Delete plugin through the \u2018Plugins\u2019 menu in WordPress<\/li>\n<\/ol>\n<p>It\u2019s best to use the build in delete function of wordpress. That way all the stored data will be removed and no orphaned data will stay.<\/p>\n<h3>To do<\/h3>\n<p>More translations. Does someone wants to help?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>An empty plugin template to start with, including the most basic necessary stuff. Take this as some kind of workshop.<\/p>\n","protected":false},"author":65,"featured_media":272754,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"EPT Empty Plugin Template - \u8587\u6653\u6735\u63d2\u4ef6\u76ee\u5f55","description":"An empty plugin template to start with, including the most basic necessary stuff. Take this as some kind of workshop."},"footnotes":""},"categories":[1],"tags":[282,20160,628,2054,14128],"class_list":["post-63775","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-development","tag-emtpy-plugin-template","tag-template","tag-wordpress-plugin","tag-workshop"],"_links":{"self":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/63775","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/users\/65"}],"replies":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/comments?post=63775"}],"version-history":[{"count":0,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/63775\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media\/272754"}],"wp:attachment":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media?parent=63775"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/categories?post=63775"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/tags?post=63775"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}