List of bbPress Template Functions
In order to ease template writing for bbPress, i compiled a list of all the template functions in the current version (bbPress 0.8.1). It was done swiftly with grep -oe ^function.*\) bb-includes/template-functions.php | sort > functions.txt.
- allowed_markup( $args = ” )
- alt_class( $key, $others = ” )
- bb_active_theme_uri()
- bb_admin_link( $args = ” )
- bb_current_user_info( $key = ” )
- bb_feed_head()
- bb_forum_dropdown( $callback = false, $callback_args = false )
- bb_get_active_theme_uri()
- bb_get_admin_link( $args = ” )
- bb_get_current_user_info( $key = ” )
- bb_get_footer()
- bb_get_forum_dropdown( $callback = false, $callback_args = false )
- bb_get_header()
- bb_get_logout_link( $args = ” )
- bb_get_post_time( $args = ” )
- bb_get_stylesheet_uri( $stylesheet = ” )
- bb_get_tag_heat_map( $tags, $args = ” )
- bb_get_template( $file )
- bb_get_title()
- bb_get_user_email( $id )
- bb_head()
- bb_language_attributes( $xhtml = 0 )
- bb_load_template( $file, $globals = false )
- bb_location()
- bb_logout_link( $args = ” )
- bb_new_topic_forum_dropdown()
- _bb_parse_time_function_args( $args )
- bb_post_template()
- bb_post_time( $args = ” )
- bb_profile_admin_form( $id = 0 )
- bb_profile_base_content()
- bb_profile_data_form( $id = 0 )
- bb_profile_data( $id = 0 )
- bb_profile_link( $args = ” )
- bb_related_tags_heat_map( $args = ” )
- bb_sort_tag_heat_map( &$tag_counts )
- bb_stylesheet_uri( $stylesheet = ” )
- _bb_time_function_return( $time, $args )
- bb_title()
- edit_form()
- favorites_link( $user_id = 0 )
- favorites_pages()
- favorites_rss_link( $id = 0 )
- forum_description( $forum_id = 0 )
- forum_id()
- forum_link( $forum_id = 0, $page = 1 )
- forum_name( $forum_id = 0 )
- forum_pages()
- forum_posts( $forum_id = 0 )
- forum_rss_link( $forum_id = 0 )
- forum_topics( $forum_id = 0 )
- full_user_link( $id )
- get_allowed_markup( $args = ” )
- get_alt_class( $key, $others = ” )
- get_bb_location()
- get_favorites_link( $user_id = 0 )
- get_favorites_rss_link( $id = 0 )
- get_forum_description( $forum_id = 0 )
- get_forum_id()
- get_forum_link( $forum_id = 0, $page = 1 )
- get_forum_name( $forum_id = 0 )
- get_forum_posts( $forum_id = 0 )
- get_forum_rss_link( $forum_id = 0 )
- get_forum_topics( $forum_id = 0 )
- get_full_user_link( $id )
- get_page_number_links($page, $total)
- get_post_author()
- get_post_author_id()
- get_post_author_title()
- get_post_id()
- get_post_ip()
- get_post_text()
- get_profile_tab_link( $id, $tab, $page = 1 )
- get_recent_rss_link()
- get_tag_link_base()
- get_tag_link( $tag_name = 0, $page = 1 )
- get_tag_name( $id = 0 )
- get_tag_page_link()
- get_tag_remove_link()
- get_tag_rss_link( $tag_id = 0 )
- get_topic_author( $id = 0 )
- get_topic_deleted_posts( $id = 0 )
- get_topic_id()
- get_topic_last_poster( $id = 0 )
- get_topic_last_post_link( $id = 0 )
- get_topic_link( $id = 0, $page = 1 )
- get_topic_posts()
- get_topic_rss_link( $id = 0 )
- get_topic_start_time( $args = ” )
- get_topic_time( $args = ” )
- get_topic_title( $id = 0 )
- get_user_delete_button()
- get_user_link( $user_id )
- get_user_name( $id )
- get_user_profile_link( $id, $page = 1 )
- get_user_title( $id )
- get_user_type( $id )
- get_user_type_label( $type )
- get_view_link( $_view = false, $page = 1 )
- get_view_name()
- is_bb_favorites()
- is_bb_feed()
- is_bb_profile()
- is_bb_search()
- is_bb_stats()
- is_forum()
- is_front()
- is_tag()
- is_topic()
- is_view()
- login_form()
- manage_tags_forms()
- new_topic( $text = false )
- post_anchor_link( $force_full = false )
- post_author()
- post_author_id()
- post_author_link()
- post_author_title()
- post_author_type()
- post_del_class()
- post_delete_link()
- post_edit_link()
- post_form( $h2 = ” )
- post_id()
- post_ip()
- post_ip_link()
- post_text()
- profile_menu()
- profile_pages()
- profile_tab_link( $id, $tab, $page = 1 )
- search_form( $q = ” )
- tag_form()
- tag_heat_map( $args = ” )
- tag_link_base()
- tag_link( $id = 0, $page = 1 )
- tag_name( $id = 0 )
- tag_page_link()
- tag_pages()
- tag_remove_link()
- tag_rss_link( $id = 0 )
- topic_author( $id = 0 )
- topic_class( $class = ”, $key = ‘topic’ )
- topic_close_link( $args = ” )
- topic_delete_link( $args = ” )
- topic_id()
- topic_last_poster( $id = 0 )
- topic_last_post_link( $id = 0 )
- topic_link( $id = 0, $page = 1 )
- topic_move_dropdown()
- topic_noreply( $title )
- topic_pages()
- topic_pages_add()
- topic_posts( $id = 0 )
- topic_posts_link()
- topic_rss_link( $id = 0 )
- topic_show_all_link()
- topic_start_time( $args = ” )
- topic_sticky_link()
- topic_tags()
- topic_time( $args = ” )
- topic_title( $id = 0 )
- user_delete_button()
- user_favorites_link($add = array(), $rem = array(), $user_id = 0)
- user_link( $id )
- user_profile_link( $id, $page = 1 )
- user_title( $id )
- user_type( $id )
- user_type_label( $type )
- view_link( $_view = false, $page = 1 )
- view_name() { // Filtration should be done at get_views()
- view_pages()
Hope they come to use.

Glad to find a complete list! It helps a lot. Thanks! Now I wish someone would set up a wiki at bbpress where I could add some documentation.
Comment by Troped — October 23, 2007 @ 8:36 pm
great! just found this, and it’s exactly what I needed. any chance of updating it to version 0.8.3?
Comment by Jack — November 8, 2007 @ 10:47 am
Here is new list for 0.9.0.2
—————————–
&bb_forums( $args = ” )
_bb_parse_time_function_args( $args )
_bb_time_function_return( $time, $args )
allowed_markup( $args = ” )
alt_class( $key, $others = ” )
bb_active_theme_uri()
bb_admin_link( $args = ” )
bb_current_user_info( $key = ” )
bb_feed_head()
bb_forum()
bb_forum_bread_crumb( $args = ” )
bb_forum_class( $args = null )
bb_forum_dropdown( $args = ” )
bb_forum_pad( $pad, $offset = 0 )
bb_forum_posts_rss_link( $forum_id = 0 )
bb_forum_topics_rss_link( $forum_id = 0 )
bb_get_active_theme_uri()
bb_get_admin_link( $args = ” )
bb_get_current_user_info( $key = ” )
bb_get_footer()
bb_get_forum_bread_crumb($args = ”)
bb_get_forum_dropdown( $args = ” )
bb_get_forum_posts_rss_link( $forum_id = 0 )
bb_get_forum_topics_rss_link( $forum_id = 0 )
bb_get_header()
bb_get_location()
bb_get_logout_link( $args = ” )
bb_get_post_time( $args = ” )
bb_get_posts_rss_link()
bb_get_profile_link( $args = ” )
bb_get_stylesheet_uri( $stylesheet = ” )
bb_get_tag_heat_map( $tags, $args = ” )
bb_get_tag_link( $tag_name = 0, $page = 1 )
bb_get_tag_link_base()
bb_get_tag_name( $id = 0 )
bb_get_tag_page_link()
bb_get_tag_remove_link()
bb_get_tag_rss_link( $tag_id = 0 )
bb_get_template( $file )
bb_get_theme_uri( $theme = false )
bb_get_title( $args = ” )
bb_get_topic_pagecount( $topic_id = 0 )
bb_get_topics_rss_link()
bb_get_user_email( $id )
bb_get_user_id( $id = 0 )
bb_get_view_rss_link()
bb_head()
bb_is_topic_lastpage( $topic_id = 0 )
bb_language_attributes( $xhtml = 0 )
bb_load_template( $file, $globals = false )
bb_location()
bb_logout_link( $args = ” )
bb_new_topic_forum_dropdown()
bb_post_template()
bb_post_time( $args = ” )
bb_profile_admin_form( $id = 0 )
bb_profile_base_content()
bb_profile_data( $id = 0 )
bb_profile_data_form( $id = 0 )
bb_profile_link( $args = ” )
bb_profile_password_form( $id = 0 )
bb_related_tags_heat_map( $args = ” )
bb_sort_tag_heat_map( &$tag_counts )
bb_stylesheet_uri( $stylesheet = ” )
bb_tag_heat_map( $args = ” )
bb_tag_link( $id = 0, $page = 1 )
bb_tag_link_base()
bb_tag_name( $id = 0 )
bb_tag_page_link()
bb_tag_remove_link()
bb_tag_rss_link( $id = 0 )
bb_template_scripts()
bb_title( $args = ” )
bb_topic_labels()
bb_topic_pagecount( $topic_id = 0 )
bb_topic_search_form( $args = null, $query_obj = null )
edit_form()
favorites_link( $user_id = 0 )
favorites_pages()
favorites_rss_link( $id = 0 )
forum_description( $args = null )
forum_id( $forum_id = 0 )
forum_link( $forum_id = 0, $page = 1 )
forum_name( $forum_id = 0 )
forum_pages( $forum_id = 0 )
forum_posts( $forum_id = 0 )
forum_topics( $forum_id = 0 )
full_user_link( $id = 0 )
get_allowed_markup( $args = ” )
get_alt_class( $key, $others = ” )
get_favorites_link( $user_id = 0 )
get_favorites_rss_link( $id = 0 )
get_forum_description( $forum_id = 0 )
get_forum_id( $forum_id = 0 )
get_forum_link( $forum_id = 0, $page = 1 )
get_forum_name( $forum_id = 0 )
get_forum_parent( $forum_id = 0 )
get_forum_position( $forum_id = 0 )
get_forum_posts( $forum_id = 0 )
get_forum_topics( $forum_id = 0 )
get_full_user_link( $id = 0 )
get_page_number_links($page, $total)
get_post_author( $post_id = 0 )
get_post_author_id( $post_id = 0 )
get_post_author_title( $post_id = 0 )
get_post_id( $post_id = 0 )
get_post_ip( $post_id = 0 )
get_post_link( $post_id = 0 )
get_post_text( $post_id = 0 )
get_profile_tab_link( $id = 0, $tab, $page = 1 )
get_topic_author( $id = 0 )
get_topic_deleted_posts( $id = 0 )
get_topic_id( $id = 0 )
get_topic_last_post_link( $id = 0 )
get_topic_last_poster( $id = 0 )
get_topic_link( $id = 0, $page = 1 )
get_topic_posts( $id = 0 )
get_topic_rss_link( $id = 0 )
get_topic_start_time( $args = ” )
get_topic_time( $args = ” )
get_topic_title( $id = 0 )
get_user_delete_button()
get_user_link( $id = 0 )
get_user_name( $id = 0 )
get_user_profile_link( $id = 0, $page = 1 )
get_user_title( $id = 0 )
get_user_type( $id = 0 )
get_user_type_label( $type )
get_view_link( $_view = false, $page = 1 )
get_view_name( $_view = ” )
is_bb_admin()
is_bb_favorites()
is_bb_feed()
is_bb_profile()
is_bb_search()
is_bb_stats()
is_bb_tag()
is_bb_tags()
is_forum()
is_front()
is_topic()
is_view()
login_form()
manage_tags_forms()
new_topic( $args = null )
post_anchor_link( $force_full = false )
post_author( $post_id = 0 )
post_author_avatar( $size = ‘48′, $default = ”, $post_id = 0 )
post_author_id( $post_id = 0 )
post_author_link( $post_id = 0 )
post_author_title( $post_id = 0 )
post_author_type( $post_id = 0 )
post_del_class( $post_id = 0 )
post_delete_link( $post_id = 0 )
post_edit_link( $post_id = 0 )
post_form( $h2 = ” )
post_id( $post_id = 0 )
post_ip( $post_id = 0 )
post_ip_link( $post_id = 0 )
post_link( $post_id = 0 )
post_text( $post_id = 0 )
profile_menu()
profile_pages()
profile_tab_link( $id = 0, $tab, $page = 1 )
search_form( $q = ” )
tag_form()
tag_pages()
topic_author( $id = 0 )
topic_class( $class = ”, $key = ‘topic’, $id = 0 )
topic_close_link( $args = ” )
topic_delete_link( $args = ” )
topic_id( $id = 0 )
topic_last_post_link( $id = 0 )
topic_last_poster( $id = 0 )
topic_link( $id = 0, $page = 1 )
topic_move_dropdown( $id = 0 )
topic_noreply( $title )
topic_pages( $id = 0 )
topic_pages_add( $id = 0 )
topic_posts( $id = 0 )
topic_posts_link( $id = 0 )
topic_rss_link( $id = 0 )
topic_show_all_link( $id = 0 )
topic_start_time( $args = ” )
topic_sticky_link( $args = ” )
topic_tags()
topic_time( $args = ” )
topic_title( $id = 0 )
user_delete_button()
user_favorites_link($add = array(), $rem = array(), $user_id = 0)
user_link( $id = 0 )
user_profile_link( $id = 0 , $page = 1 )
user_title( $id = 0 )
user_type( $id = 0 )
user_type_label( $type )
view_link( $_view = false, $page = 1 )
view_name( $view = ” ) { // Filtration should be done at bb_register_view()
view_pages()
—————
Comment by Jens Wedin — June 26, 2008 @ 11:15 pm
Jens Wedin: Thanks!
Comment by Tim — July 2, 2008 @ 7:40 am
No problemo :)
Too bad the bbPress site are not working on their own documentation. Quite frustrating to figure out how it all works.
Comment by Jens Wedin — July 2, 2008 @ 7:50 am