Plugins – bbPress Codex https://codex.bbpress.org Fri, 12 Dec 2014 04:56:40 +0000 en-US hourly 1 https://wordpress.org/?v=7.1-alpha-62259 Plugins https://codex.bbpress.org/plugins/ Thu, 29 May 2014 04:02:44 +0000 http://codex.bbpress.org/?page_id=283 bbPress uses its own internal actions to help aid in third-party plugin development, and to limit the amount of potential future code changes when updates to WordPress core occur. These internal actions can be thought of as “sub-actions” and allow you to add or re-order WordPress actions as necessary for plugins that depend on bbPress.

These actions exist to create the concept of ‘plugin dependencies’. They provide a safe way for plugins to execute code *only* when bbPress is installed and activated, without needing to do complicated guesswork.

bbPress is completely self-sufficient within WordPress. You can load it anywhere or in any order from any place.

]]>
Customizing https://codex.bbpress.org/legacy/customizing/ Sun, 05 Feb 2012 20:34:28 +0000 http://codex.bbpress.org/?page_id=25 These pages are for bbPress versions less than 2.0. They are considered out of date and are here for legacy only.

Using Plugins

To use a plugin, simply create a directory in your main bbPress directory called my-plugins and put the plugin file in it.

Then go to your bbPress admin and click the Plugins tab. You’ll find a list of the plugins in your my-plugins directory.

Activate the new plugin by clicking the Activate link.

Making Plugins

bbPress has a plugin API that functions exactly the same as WordPress’. All the familiar functions such as do_action(), add_filter() and so forth are found in bbPress. One of our goals is to make bbPress as pluggable as possible. If you have suggestions for new hooks or other improvements, please let us know.

Note: All plugins must have a plugin header. Below is an example.


/*
Plugin Name: Name of your plugin required
Plugin URI: Plugin's website
Description: Short description of your plugin
Author: Your name
Author URI: Your website
Version: Current version number of your plugin
*/

You can see what others have developed for legacy bbPress here and legacy plugin development center.

]]>