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 […]
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 […]
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. […]
# bbPress bbPress is forum software with a twist from the creators of WordPress. Easily setup discussion forums inside your WordPress.org powered site. Have you ever been frustrated with forum or bulletin board software that was slow, bloated and always got your server hacked? bbPress is focused on ease of integration, ease of use, web […]
The developer docs are here to help you understand how bbPress works and how you can extend it. [under construction]
Description The ‘bbp_topic_author_link’ function is used to display the current topic author’s user role, avatar and username linked to their profile Where is it used Templates: content-single-topic-lead.php How to use it $args (optional) – Accepts an array of arguments to configure display ( post_id, link_title, type, size, sep, show_role ) Uses bbp_get_topic_author_link() Sample code example […]
Description The ‘bbp_reply_author_link’ function is used to display the current reply author’s user role, avatar and username linked to their profile Where is it used Templates: loop-single-reply.php loop-search-reply.php How to use it $args (optional) – Accepts an array of arguments to configure display ( post_id, link_title, type, size, sep, show_role ) Uses bbp_get_reply_author_link() Sample code […]
Description The ‘bbp_get_user_profile_url’ function returns the URL of the supplied user’s profile. How to use it $user_id – The specified user to return the profile link for. Sample code example Creates a link to the current user’s profile.