Skip to:
Content
Pages
Categories
Search
Top
Bottom

bbp_setup_current_user was called incorrectly

Published on July 22nd, 2015 by John James Jacoby

This debug notice is triggered when WP_DEBUG constant is defined to true and a plugin *other than* bbPress is attempting to access something pertaining to the current user before $wp->init() and/or the init action has fired in wp-settings.php. The notice is there to alert you that bbPress is being forced into a configuration that may […]

bbp_setup_current_user

Published on July 22nd, 2015 by John James Jacoby

The bbp_setup_current_user() function is hooked to WordPress’s set_current_user action. Internally, it only calls the bbp_setup_current_user action, which is used by bbPress to announce itself to third party plugins looking to hook into bbPress user functionality. This is a bit of a hack, since plugin dependencies do not exist in WordPress proper, but it’s still an […]

bbp_theme_after_topic_author

Published on June 26th, 2012 by Jarret

Description The ‘bbp_theme_after_topic_author’ action is used to display content after the author’s avatar and name in a forum How to use it Since this is an action, we can use add_action to hook into it. Sample code example Note: Always remember to prefix your functions to avoid conflicts!

bbp_theme_before_topic_author

Published on June 26th, 2012 by Jarret

Description The ‘bbp_theme_before_topic_author’ action is used to display content before the author’s avatar and name in a forum How to use it Since this is an action, we can use add_action to hook into it. Sample code example Note: Always remember to prefix your functions to avoid conflicts!

bbp_theme_after_forum_freshness_link

Published on June 26th, 2012 by Jarret

Description The ‘bbp_theme_after_forum_freshness_link’ action is used to display content after the forum freshness link How to use it Since this is an action, we can use add_action to hook into it. Sample code example Note: Always remember to prefix your functions to avoid conflicts!

bbp_theme_before_forum_freshness_link

Published on June 26th, 2012 by Jarret

Description The ‘bbp_theme_before_forum_freshness_link’ action is used to display content before the forum freshness link How to use it Since this is an action, we can use add_action to hook into it. Sample code example Note: Always remember to prefix your functions to avoid conflicts!

bbp_forum_row_actions

Published on May 19th, 2012 by Jarret

Description The ‘bbp_forum_row_actions’ action is used to display content within forum topic rows for functions such as administrative shortcuts. Where it can be found Line 453 and 454 /includes/forums/template.php Line 48 /templates/default/bbpress/loop-single-forum.php How to use it Since this is an action, we can use add_action to hook into it. Sample code example This will display […]

bbp_theme_after_forum_description

Published on May 19th, 2012 by Jarret

Description The ‘bbp_theme_after_forum_description’ action is used to display content after the description of the forum on forum index pages. Where it can be found On line 32 of /bbp-theme-compat/bbpress/loop-single-forum.php /bbp-themes/bbp-twentyten/bbpress/loop-single-forum.php How to use it Since this is an action, we can use add_action to hook into it. Sample code example Note: Always remember to prefix […]

bbp_theme_before_forum_description

Published on May 19th, 2012 by Jarret

Description The ‘bbp_theme_before_forum_description’ action is used to display content before the description of the forum on forum index pages. Where it can be found On line 28 of /bbp-theme-compat/bbpress/loop-single-forum.php /bbp-themes/bbp-twentyten/bbpress/loop-single-forum.php How to use it Since this is an action, we can use add_action to hook into it. Sample code example Note: Always remember to prefix […]

bbp_theme_after_forum_sub_forums

Published on May 19th, 2012 by Jarret

Description The ‘bbp_theme_after_forum_sub_forums’ action is used to display content after each list of sub forum links. Where it can be found On line 26 of /bbp-theme-compat/bbpress/loop-single-forum.php /bbp-themes/bbp-twentyten/bbpress/loop-single-forum.php How to use it Since this is an action, we can use add_action to hook into it. Sample code example Note: Always remember to prefix your functions to […]

Skip to toolbar