Codex

Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Difference between revisions of "Plugin Resources"

(Plugin Development Basics)
(Plugin Development - Special Topics: - update new source and updated content for the coding checklist)
 
(39 intermediate revisions by 27 users not shown)
Line 1: Line 1:
  +
{{Languages|
  +
{{en|Plugin Resources}}
  +
{{es|Recursos de Plugin}}
  +
{{ja|Plugin Resources}}
  +
{{ko|Plugin Resources}}
  +
{{th|Plugin Resources}}
  +
{{zh-cn|插件资源集合}}
  +
}}
  +
 
__TOC__
 
__TOC__
   
Line 14: Line 23:
   
 
* [[Writing a Plugin]] - Best starting place for learning about how to develop Plugins
 
* [[Writing a Plugin]] - Best starting place for learning about how to develop Plugins
  +
* [https://developer.wordpress.org/plugins/ Plugin Developer Handbook] - A resource for all things WordPress plugins.
  +
* [[I18n for WordPress Developers]] - Internationalization, including a section on how to internationalize your plugin
 
* [[Plugin API]] - Description of how to use Hooks (Actions and Filters) in your Plugins, and WordPress functions that plugins can override.
 
* [[Plugin API]] - Description of how to use Hooks (Actions and Filters) in your Plugins, and WordPress functions that plugins can override.
 
* [[Adding Administration Menus]] - How to add management menus to your plugin
 
* [[Adding Administration Menus]] - How to add management menus to your plugin
 
* [[Plugin Submission and Promotion]] - Once you have written your plugin, here are some hints on distributing it widely
 
* [[Plugin Submission and Promotion]] - Once you have written your plugin, here are some hints on distributing it widely
 
* [[Migrating Plugins and Themes]] - Contains information on how to upgrade your Plugin so it will work from version to version of WordPress
 
* [[Migrating Plugins and Themes]] - Contains information on how to upgrade your Plugin so it will work from version to version of WordPress
* [[Determining Plugin and Content Directories]] - Example code and explanation of how to determine where your plugin files/folders will be in relation to the server and wordpress install.
+
* [[Determining Plugin and Content Directories]] - Example code and explanation of how to determine where your plugin files/folders will be in relation to the server and WordPress install.
 
   
 
External Resources:
 
External Resources:
   
 
* [http://markjaquith.wordpress.com/2006/03/04/wp-tutorial-your-first-wp-plugin/ Your First WordPress Plugin (video demonstration)]
* [http://www.wp-plugins.net/faq.html#dev WordPress Plugins Database's FAQ on writing plugins]
 
*[http://fortes.com/2005/05/14/updating-wordpress-plugins-for-151 Updating WordPress Plugins for 1.5.1]
 
* [http://markjaquith.wordpress.com/2006/03/04/wp-tutorial-your-first-wp-plugin/ Your First Wordpress Plugin (video demonstration)]
 
*[http://www.digitalramble.com/2006/06/06/34/ Anatomy of a new Plugin] [http://pixline.net/2006/10/anatomia-di-un-plugin-wordpress/ (traduzione italiana)]
 
 
* [http://www.randypeterman.com/wordpress/index.php?p=597 Writing a WordPress Plugin Part I] and [http://www.randypeterman.com/wordpress/index.php?p=648 Part II]
 
* [http://www.randypeterman.com/wordpress/index.php?p=597 Writing a WordPress Plugin Part I] and [http://www.randypeterman.com/wordpress/index.php?p=648 Part II]
  +
* [http://make.wordpress.org/plugins/ Make WordPress Plugins] - official blog with information for plugin authors
* [http://amiworks.co.in/talk/simplified-ajax-for-wordpress-plugin-developers-using-jquery/ Simplified AJAX For WordPress Plugin Developers using Jquery]
 
  +
* [http://codesamplez.com/development/create-a-simple-wordpress-plugin Create A Simple WordPress Plugin]
  +
* [http://generatewp.com/plugin-readme/ WordPress plugin 'readme.txt' file generator]
   
 
==Plugin Development - Reference ==
 
==Plugin Development - Reference ==
Line 40: Line 49:
 
* [[WordPress Coding Standards]] - General information about coding standards for WordPress development
 
* [[WordPress Coding Standards]] - General information about coding standards for WordPress development
 
* [[WordPress Deprecated Functions Hook]] - WordPress 2.4 adds two hooks for when deprecated functions are used, here is how to use them.
 
* [[WordPress Deprecated Functions Hook]] - WordPress 2.4 adds two hooks for when deprecated functions are used, here is how to use them.
  +
* [[Shortcode API]] - A tutorial and reference for the shortcode API (new in version 2.5)
  +
* [[Dashboard Widgets API]] - A reference with examples for adding new widgets to the admin dashboard.
  +
* [[Settings API]] - A reference with examples for adding new settings to existing settings screens.
  +
* [[Adding Contextual Help to Administration Menus]] - How to add content to the contextual help tab in the admin screen.
  +
   
 
External Resources:
 
External Resources:
   
  +
* [http://phpdoc.wordpress.org/ WordPress.org PHPDoc] - Nearly all the functions in WordPress now have "PHPDoc" headers. This site shows all the PHPDoc.
*[http://asymptomatic.net/2005/04/22/1503/ezstatic-20-and-pluggable-functions/ Pluggable Functions]
 
 
* [http://codex.wordpress.org/User:Skippy Skippy's list] of actions and filters
 
* [http://codex.wordpress.org/User:Skippy Skippy's list] of actions and filters
* [http://wphooks.flatearth.org WordPress Hooks], a work in progress directory of all of WordPress’ hooks.
 
 
* [http://adambrown.info/p/wp_hooks WordPress Hooks Database], a database of all WordPress' hooks, showing which version they come from, and linking to the source code spots that use them
 
* [http://adambrown.info/p/wp_hooks WordPress Hooks Database], a database of all WordPress' hooks, showing which version they come from, and linking to the source code spots that use them
  +
* [http://dd32.id.au/wordpressorg-plugin-information-api-docs/ dd32's wordpress.org/extend Plugin API information]
* [http://blog.taragana.com/index.php/archive/wordpress-2x-hooks-for-action-comprehensive-list-for-plugin-and-theme-developers/ Angsuman's list], a comprehensive listing of WordPress action hooks with documentation and source code location information. It contains all documented and undocumented action hooks in WordPress 2.0.
 
  +
* [http://www.prelovac.com/vladimir/wordpress-plugin-development-book WordPress Plugin Development] - Beginner's guide
   
 
==Plugin Development - Special Topics==
 
==Plugin Development - Special Topics==
Line 55: Line 69:
 
* [[Custom Queries]] - How to implement custom queries that let a plugin control which posts are displayed and in what order
 
* [[Custom Queries]] - How to implement custom queries that let a plugin control which posts are displayed and in what order
 
* [[AJAX in Plugins]] - How to add AJAX functionality to your plugin, in the administration screens or viewer-facing pages
 
* [[AJAX in Plugins]] - How to add AJAX functionality to your plugin, in the administration screens or viewer-facing pages
* [[Hacking WordPress]] - Other types of "hacks" for WordPress
 
 
* [[Creating Options Pages]] - How to easily create custom options pages and have WordPress do all the hard work for you!
 
* [[Creating Options Pages]] - How to easily create custom options pages and have WordPress do all the hard work for you!
 
* [[Modifying Options Pages]] - How to modify already existing options pages by adding options for your use on them
 
* [[Modifying Options Pages]] - How to modify already existing options pages by adding options for your use on them
  +
* [[Function Reference/add_meta_box|Using the add_meta_box() Function]] - How to add a custom section to the post editing screen, and save the data the user enters
 
* [[TinyMCE Custom Buttons]] - How to add functionality to the TinyMCE Visual/HTML editor for post/page content
 
* [[TinyMCE Custom Buttons]] - How to add functionality to the TinyMCE Visual/HTML editor for post/page content
  +
* [[Geodata]] - Interoperability conventions for plugins that use or manipulate location or geographic data
   
 
External Resources:
 
External Resources:
Line 64: Line 79:
 
* [http://markjaquith.wordpress.com/2006/06/02/wordpress-203-nonces/ Securing your plugin with nonces]
 
* [http://markjaquith.wordpress.com/2006/06/02/wordpress-203-nonces/ Securing your plugin with nonces]
 
* [http://automattic.com/code/widgets/plugins/ Official WordPress Widgets page on Widgetizing plugins]
 
* [http://automattic.com/code/widgets/plugins/ Official WordPress Widgets page on Widgetizing plugins]
 
* [http://planetozh.com/projects/wordpress-functions-history/ WordPress Functions History Tool] - unofficial tool to help in finding when/if a function has been added/dropped
* [http://guff.szub.net/2006/04/06/my-widget-example-wordpress-widget/ Writing a Widget Plugin]
 
  +
* [http://wp-fun.co.uk/wp-content/uploads/wp-plugins.zip WP-Fun's old blog posts and examples] - An old (2006-2008) zip with widget code
* [http://blog.slaven.net.au/archives/2007/02/01/timing-is-everything-scheduling-in-wordpress/ Using event scheduling in WordPress Plugins]
 
 
* [http://amiworks.co.in/talk/simplified-ajax-for-wordpress-plugin-developers-using-jquery/ Simplified AJAX For WordPress Plugin Developers using Jquery]
* [http://planetozh.com/projects/wordpress-functions-history/ WordPress Functions History Tool] (unofficial tool to help in finding when/if a function has been added/dropped)
 
  +
* [http://xplus3.net/2008/10/16/jquery-and-ajax-in-wordpress-plugins-administration-pages/ jQuery and Ajax in WordPress Administration Plugins]
* [http://www.wp-fun.co.uk/wizzards/fun-with-plugins/ WP-Fun Plugin Generator] (Unofficial tool that creates a base plugin to speed up plugin development)
 
  +
* [http://xplus3.net/2008/10/27/jquery-and-ajax-in-wordpress-plugins-public-pages/ jQuery and Ajax in Plugins for Public Pages]
  +
* [http://ocaoimh.ie/2008/11/01/make-your-wordpress-plugin-talk-ajax/ Make your WordPress plugin talk AJAX] - examples on viewer-side AJAX for plugins
  +
* [http://scribu.net/wordpress/conditional-script-loading-revisited.html Conditional Script Loading Revisited] - optimal script loading, particularly for shortcodes
  +
* [https://gist.github.com/hqhow/8a4893683d17ecda06f4b725afb74101 WordPress Plugin Development Checklist & Coding Standard] - Checklist to build a WordPress plugin
   
 
[[Category:Plugins]]
 
[[Category:Plugins]]

Latest revision as of 10:10, 18 April 2020

Plugins are tools to extend the functionality of WordPress. The core of WordPress is designed to be lean, to maximize flexibility and minimize code bloat. Plugins offer custom functions and features so that each user can tailor their site to their specific needs.

This article is a comprehensive list of resources related to plugins and plugin development.

General Plugin References

Plugin Development Basics

External Resources:

Plugin Development - Reference


External Resources:

Plugin Development - Special Topics

  • Creating Admin Themes - How to create a Plugin that changes the look of the Admin section
  • Creating Tables with Plugins - How to store your plugin's data in a new table in the WordPress database
  • Custom Queries - How to implement custom queries that let a plugin control which posts are displayed and in what order
  • AJAX in Plugins - How to add AJAX functionality to your plugin, in the administration screens or viewer-facing pages
  • Creating Options Pages - How to easily create custom options pages and have WordPress do all the hard work for you!
  • Modifying Options Pages - How to modify already existing options pages by adding options for your use on them
  • Using the add_meta_box() Function - How to add a custom section to the post editing screen, and save the data the user enters
  • TinyMCE Custom Buttons - How to add functionality to the TinyMCE Visual/HTML editor for post/page content
  • Geodata - Interoperability conventions for plugins that use or manipulate location or geographic data

External Resources: