List of bbPress Template Functions

allowed_markup( $args = )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.

  • 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.

Leave a Reply

Your email address will not be published. Required fields are marked *