跳到内容

Object Oriented Plugin Template Solution

v1.1.2

Daniel Convissor · 2012年11月5日 上架

A well engineered template for creating plugins using object-oriented programming practices. Uses Settings API, multisite, i18n, PHPUnit tests.

正在使用
10 以下
评分
5.0 / 5
累计下载
3,644
最近更新
2016年8月14日
2 条评价需要 WordPress 3.3+已测试到 4.4.34

Gives authors of new plugins a leg up on creating a great, easy to maintain plugin by providing a carefully designed plugin skeleton to build on. Authors of existing plugins can extract individual components and concepts for transplantation into their own projects.

  • Clean, object-oriented design
  • PHPUnit tests
  • Admin screen uses the Settings API
  • Multisite support
  • Creates a table during activation
  • Drops the table and settings during deactivation
  • Uses WordPress’ i18n and provides scripts for generating the gettext files
  • Installation instructions have a script for renaming files, classes and IDs

See the FAQ section for more details about this plugin’s features.

Development of this plugin template happens on GitHub. Please submit bug and feature requests, pull requests, wiki entries
there. Releases are then squashed and pushed to WordPress’ Plugins SVN repository. This division is necessary due having being chastised that “the Plugins SVN repository is a release system, not a development system.”

Explanations

If you want an explanation of how this “plugin” works, please see the “PHPUnit Tests for WordPress Plugins” series on my blog.

Plums

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

导航

说明

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

© 2026 Plums