跳到内容

EPT Empty Plugin Template

v0.1.1.2

Juergen Schulze · 2011年2月17日 上架

An empty plugin template to start with, including the most basic necessary stuff. Take this as some kind of workshop.

正在使用
10+
评分
暂无
累计下载
8,486
最近更新
2011年3月4日
需要 WordPress 2.8+已测试到 3.1.4

STILL BETA Use this emtpy wordpress plugin template to build your own.

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/

Every important point will have it’s own page to explain.

Including:

  • multi language ability
  • uninstall routine
  • data delete routine (avoid orphaned data)
  • coding advices
  • security aspects (validating user inputs, nonces)
  • external third party stuff (Ajax, CSS, Javascript)
  • shortcode
  • WordPress scheduler (“cronjob”)
  • logfiles
  • capabilities

Remove plugin

  1. Deactivate plugin through the ‘Plugins’ menu in WordPress
  2. Delete plugin through the ‘Plugins’ menu in WordPress

It’s 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.

To do

More translations. Does someone wants to help?

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums