[ Index ]

PHP Cross Reference of BBPress




/src/ -> bbpress.php (summary)

The bbPress Plugin bbPress is forum software with a twist from the creators of WordPress.

File Size: 1065 lines (39 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 29 functions


Functions that are not part of a class:

instance()   X-Ref
Main bbPress Instance

bbPress is fun
Please load it only one time
For this, we thank you

Insures that only one instance of bbPress exists in memory at any one
time. Also prevents needing to define globals all over the place.

return: bbPress The one true bbPress
since: 2.1.0 bbPress (r3757)

__construct()   X-Ref
A dummy constructor to prevent bbPress from being loaded more than once.

since: 2.0.0 bbPress (r2464)

__clone()   X-Ref
A dummy magic method to prevent bbPress from being cloned

since: 2.0.0 bbPress (r2464)

__wakeup()   X-Ref
A dummy magic method to prevent bbPress from being unserialized

since: 2.0.0 bbPress (r2464)

__isset( $key )   X-Ref
Magic method for checking the existence of a certain custom field

since: 2.1.0 bbPress (r3951)

__get( $key )   X-Ref
Magic method for getting bbPress variables

since: 2.1.0 bbPress (r3951)

__set( $key, $value )   X-Ref
Magic method for setting bbPress variables

since: 2.1.0 bbPress (r3951)

__unset( $key )   X-Ref
Magic method for unsetting bbPress variables

since: 2.3.0 bbPress (r4628)

__call( $name = '', $args = array()   X-Ref
Magic method to prevent notices and errors from invalid method calls

since: 2.2.0 bbPress (r4252)

setup_environment()   X-Ref
Setup the environment variables to allow the rest of bbPress to function
more easily.

since: 2.0.0 bbPress (r2626)

setup_variables()   X-Ref
Smart defaults to many bbPress specific class variables.

since: 2.6.0 bbPress (r6330)

includes()   X-Ref
Include required files

since: 2.0.0 bbPress (r2626)

setup_actions()   X-Ref
Setup the default hooks and actions

since: 2.0.0 bbPress (r2644)

register_theme_packages()   X-Ref
Register bundled theme packages

Note that since we currently have complete control over bbp-themes and
the bbp-theme-compat folders, it's fine to hardcode these here. If at a
later date we need to automate this, and API will need to be built.

since: 2.1.0 bbPress (r3829)

setup_theme()   X-Ref
Setup the default bbPress theme compatibility location.

since: 2.1.0 bbPress (r3778)

load_textdomain()   X-Ref
Load the translation file for current language. Checks the deprecated
languages folder inside the bbPress plugin first, and then the default
WordPress languages folder.

Note that custom translation files inside the bbPress plugin folder
will be removed on bbPress updates. If you're creating custom
translation files, please use the global language folder.

since: 2.0.0 bbPress (r2596)

register_post_types()   X-Ref
Setup the post types for forums, topics and replies

since: 2.0.0 bbPress (r2597)

register_post_statuses()   X-Ref
Register the post statuses used by bbPress

We do some manipulation of the 'trash' status so trashed topics and
replies can be viewed from within the theme.

since: 2.0.0 bbPress (r2727)

register_taxonomies()   X-Ref
Register the topic tag and forum moderator taxonomies

since: 2.0.0 bbPress (r2464) Added bbp_get_topic_tag_tax_id() taxonomy

register_views()   X-Ref
Register the bbPress views

since: 2.0.0 bbPress (r2789)

register_shortcodes()   X-Ref
Register the bbPress shortcodes

since: 2.0.0 bbPress (r3031)

register_meta()   X-Ref
Register bbPress meta-data

Counts added in 2.6.0 to avoid negative values

since: 2.6.0 bbPress (r6300)

setup_current_user()   X-Ref
Setup the currently logged-in user

since: 2.0.0 bbPress (r2697)

setup_engagements()   X-Ref
Setup the user engagements strategy

since: 2.6.0 bbPress (r6875)

roles_init()   X-Ref
Initialize forum-specific roles

since: 2.6.0

add_rewrite_tags()   X-Ref
Add the bbPress-specific rewrite tags

since: 2.0.0 bbPress (r2753)

add_rewrite_rules()   X-Ref
Add bbPress-specific rewrite rules for uri's that are not
setup for us by way of custom post types or taxonomies. This includes:
- Front-end editing
- Topic views
- User profiles

since: 2.0.0 bbPress (r2688)

add_permastructs()   X-Ref
Add permalink structures for new archive-style destinations.

- Users
- Topic Views
- Search

since: 2.4.0 bbPress (r4930)

bbpress()   X-Ref
The main function responsible for returning the one true bbPress Instance
to functions everywhere.

Use this function like you would a global variable, except without needing
to declare the global.

Example: <?php $bbp = bbpress(); ?>

return: bbPress The one true bbPress Instance
since: 2.0.0 bbPress (r2464)

Generated: Thu Jun 13 01:00:51 2024 Cross-referenced by PHPXref 0.7.1