Main bbPress Class.
"Word hard. Stay bumble."
| since | 2.0.0 bbPress (r2464) |
|---|---|
| package | bbPress |
__call($name= '', $args= array())
| since | 2.2.0 bbPress (r4252) |
|---|
__clone()
| since | 2.0.0 bbPress (r2464) |
|---|
__get($key)
| since | 2.1.0 bbPress (r3951) |
|---|
__isset($key)
| since | 2.1.0 bbPress (r3951) |
|---|
__set($key, $value)
| since | 2.1.0 bbPress (r3951) |
|---|
__unset($key)
| since | 2.3.0 bbPress (r4628) |
|---|
__wakeup()
| since | 2.0.0 bbPress (r2464) |
|---|
add_permastructs()
| since | 2.4.0 bbPress (r4930) |
|---|
add_rewrite_rules()
| since | 2.0.0 bbPress (r2688) |
|---|---|
| todo | Extract into an API |
instance() : \bbPress
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.
| since | 2.1.0 bbPress (r3757) |
|---|---|
| staticvar | object $instance |
| see |
\bbPressThe one true bbPress.load_textdomain()
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_statuses()
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_post_types()
| since | 2.0.0 bbPress (r2597) |
|---|
register_shortcodes()
| since | 2.0.0 bbPress (r3031) |
|---|
register_taxonomies()
| since | 2.0.0 bbPress (r2464) Added bbp_get_topic_tag_tax_id() taxonomy |
|---|
register_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) |
|---|
register_views()
| since | 2.0.0 bbPress (r2789) |
|---|
roles_init()
| since | 2.6.0 |
|---|
setup_current_user()
| since | 2.0.0 bbPress (r2697) |
|---|
setup_engagements()
| since | 2.6.0 bbPress (r6875) |
|---|
setup_theme()
| since | 2.1.0 bbPress (r3778) |
|---|
__construct()
includes()
| since | 2.0.0 bbPress (r2626) |
|---|---|
| access | private |
setup_actions()
| since | 2.0.0 bbPress (r2644) |
|---|---|
| access | private |
setup_environment()
| since | 2.0.0 bbPress (r2626) |
|---|---|
| access | private |
setup_variables()
| since | 2.6.0 bbPress (r6330) |
|---|
$current_user : mixed
false$extend : \stdClass
$roles : array
array()$views : array
array()$data : array
array()This is a precautionary measure, to avoid potential errors produced by unanticipated direct manipulation of critical run-time data.