[ Index ]

PHP Cross Reference of BBPress

title

Body

[close]

/src/includes/topics/ -> template.php (summary)

bbPress Topic Template Tags

File Size: 4029 lines (118 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 166 functions

  bbp_topic_post_type()
  bbp_get_topic_post_type()
  bbp_get_topic_post_type_labels()
  bbp_get_topic_post_type_rewrite()
  bbp_get_topic_post_type_supports()
  bbp_show_lead_topic()
  bbp_has_topics()
  bbp_topics()
  bbp_the_topic()
  bbp_add_sticky_topics()
  bbp_topic_id()
  bbp_get_topic_id()
  bbp_get_topic()
  bbp_topic_permalink()
  bbp_get_topic_permalink()
  bbp_topic_title()
  bbp_get_topic_title()
  bbp_topic_archive_title()
  bbp_get_topic_archive_title()
  bbp_topic_content()
  bbp_get_topic_content()
  bbp_topic_excerpt()
  bbp_get_topic_excerpt()
  bbp_topic_post_date()
  bbp_get_topic_post_date()
  bbp_topic_pagination()
  bbp_get_topic_pagination()
  bbp_topic_content_append_revisions()
  bbp_topic_revision_log()
  bbp_get_topic_revision_log()
  bbp_get_topic_raw_revision_log()
  bbp_get_topic_revisions()
  bbp_get_topic_revision_count()
  bbp_is_topic_sticky()
  bbp_is_topic_super_sticky()
  bbp_topic_status()
  bbp_get_topic_status()
  bbp_is_topic_closed()
  bbp_is_topic_open()
  bbp_is_topic_public()
  bbp_is_topic_published()
  bbp_is_topic_spam()
  bbp_is_topic_trash()
  bbp_is_topic_pending()
  bbp_is_topic_private()
  bbp_is_topic_anonymous()
  bbp_topic_author()
  bbp_get_topic_author()
  bbp_topic_author_id()
  bbp_get_topic_author_id()
  bbp_topic_author_display_name()
  bbp_get_topic_author_display_name()
  bbp_topic_author_avatar()
  bbp_get_topic_author_avatar()
  bbp_topic_author_link()
  bbp_get_topic_author_link()
  bbp_topic_author_url()
  bbp_get_topic_author_url()
  bbp_topic_author_email()
  bbp_get_topic_author_email()
  bbp_topic_author_role()
  bbp_get_topic_author_role()
  bbp_topic_forum_title()
  bbp_get_topic_forum_title()
  bbp_topic_forum_id()
  bbp_get_topic_forum_id()
  bbp_topic_last_active_id()
  bbp_get_topic_last_active_id()
  bbp_topic_last_active_time()
  bbp_get_topic_last_active_time()
  bbp_topic_subscription_link()
  bbp_get_topic_subscription_link()
  bbp_topic_favorite_link()
  bbp_get_topic_favorite_link()
  bbp_topic_last_reply_id()
  bbp_get_topic_last_reply_id()
  bbp_topic_last_reply_title()
  bbp_get_topic_last_reply_title()
  bbp_topic_last_reply_permalink()
  bbp_get_topic_last_reply_permalink()
  bbp_topic_last_reply_url()
  bbp_get_topic_last_reply_url()
  bbp_topic_freshness_link()
  bbp_get_topic_freshness_link()
  bbp_topic_replies_link()
  bbp_get_topic_replies_link()
  bbp_topic_reply_count()
  bbp_get_topic_reply_count()
  bbp_topic_post_count()
  bbp_get_topic_post_count()
  bbp_topic_reply_count_hidden()
  bbp_get_topic_reply_count_hidden()
  bbp_topic_voice_count()
  bbp_get_topic_voice_count()
  bbp_topic_tag_list()
  bbp_get_topic_tag_list()
  bbp_topic_class()
  bbp_get_topic_class()
  bbp_topic_admin_links()
  bbp_get_topic_admin_links()
  bbp_topic_edit_link()
  bbp_get_topic_edit_link()
  bbp_topic_edit_url()
  bbp_get_topic_edit_url()
  bbp_topic_trash_link()
  bbp_get_topic_trash_link()
  bbp_topic_close_link()
  bbp_get_topic_close_link()
  bbp_topic_approve_link()
  bbp_get_topic_approve_link()
  bbp_topic_stick_link()
  bbp_get_topic_stick_link()
  bbp_topic_merge_link()
  bbp_get_topic_merge_link()
  bbp_topic_spam_link()
  bbp_get_topic_spam_link()
  bbp_topic_reply_link()
  bbp_get_topic_reply_link()
  bbp_get_topics_pagination_base()
  bbp_forum_pagination_count()
  bbp_get_forum_pagination_count()
  bbp_forum_pagination_links()
  bbp_get_forum_pagination_links()
  bbp_topic_notices()
  bbp_topic_type_select()
  bbp_form_topic_type_dropdown()
  bbp_get_form_topic_type_dropdown()
  bbp_form_topic_status_dropdown()
  bbp_get_form_topic_status_dropdown()
  bbp_single_topic_description()
  bbp_get_single_topic_description()
  bbp_topic_tag_tax_id()
  bbp_get_topic_tag_tax_id()
  bbp_get_topic_tag_tax_labels()
  bbp_get_topic_tag_tax_rewrite()
  bbp_topic_tag_id()
  bbp_get_topic_tag_id()
  bbp_topic_tag_name()
  bbp_get_topic_tag_name()
  bbp_topic_tag_slug()
  bbp_get_topic_tag_slug()
  bbp_topic_tag_link()
  bbp_get_topic_tag_link()
  bbp_topic_tag_edit_link()
  bbp_get_topic_tag_edit_link()
  bbp_topic_tag_description()
  bbp_get_topic_tag_description()
  bbp_form_topic_title()
  bbp_get_form_topic_title()
  bbp_form_topic_content()
  bbp_get_form_topic_content()
  bbp_topic_row_actions()
  bbp_form_topic_tags()
  bbp_get_form_topic_tags()
  bbp_form_topic_forum()
  bbp_get_form_topic_forum()
  bbp_form_topic_subscribed()
  bbp_get_form_topic_subscribed()
  bbp_form_topic_log_edit()
  bbp_get_form_topic_log_edit()
  bbp_form_topic_edit_reason()
  bbp_get_form_topic_edit_reason()
  bbp_is_topic_form_post_request()
  bbp_show_topic_lock_alert()
  bbp_topic_lock_description()
  bbp_get_topic_lock_description()

Functions
Functions that are not part of a class:

bbp_topic_post_type()   X-Ref
Output the unique id of the custom post type for topics

since: 2.0.0 bbPress (r2857)

bbp_get_topic_post_type()   X-Ref
Return the unique id of the custom post type for topics

since: 2.0.0 bbPress (r2857)
return: string The unique topic post type id

bbp_get_topic_post_type_labels()   X-Ref
Return array of labels used by the topic post type

since: 2.5.0 bbPress (r5129)
return: array

bbp_get_topic_post_type_rewrite()   X-Ref
Return array of topic post type rewrite settings

since: 2.5.0 bbPress (r5129)
return: array

bbp_get_topic_post_type_supports()   X-Ref
Return array of features the topic post type supports

since: 2.5.0 bbPress (r5129)
return: array

bbp_show_lead_topic( $show_lead = false )   X-Ref
The plugin version of bbPress comes with two topic display options:
- Traditional: Topics are included in the reply loop (default)
- New Style: Topics appear as "lead" posts, ahead of replies

since: 2.0.0 bbPress (r2954)
return: bool Yes if the topic appears as a lead, otherwise false
param: $show_lead Optional. Default false

bbp_has_topics( $args = array()   X-Ref
The main topic loop. WordPress makes this easy for us

since: 2.0.0 bbPress (r2485)
return: object Multidimensional array of topic information
param: array $args All the arguments supported by {@link WP_Query}

bbp_topics()   X-Ref
Whether there are more topics available in the loop

since: 2.0.0 bbPress (r2485)
return: object Topic information

bbp_the_topic()   X-Ref
Loads up the current topic in the loop

since: 2.0.0 bbPress (r2485)
return: object Topic information

bbp_add_sticky_topics( &$query, $args = array()   X-Ref
Add sticky topics to a topics query object

since: 2.6.0 bbPress (r6402)
param: WP_Query $query
param: array    $args

bbp_topic_id( $topic_id = 0)   X-Ref
Output the topic id

since: 2.0.0 bbPress (r2485)

bbp_get_topic_id( $topic_id = 0 )   X-Ref
Return the topic id

since: 2.0.0 bbPress (r2485)
return: int The topic id
param: $topic_id Optional. Used to check emptiness

bbp_get_topic( $topic, $output = OBJECT, $filter = 'raw' )   X-Ref
Gets a topic

since: 2.0.0 bbPress (r2787)
return: mixed Null if error or topic (in specified form) if success

bbp_topic_permalink( $topic_id = 0, $redirect_to = '' )   X-Ref
Output the link to the topic in the topic loop

since: 2.0.0 bbPress (r2485)
param: int $topic_id Optional. Topic id
param: string $redirect_to Optional. Pass a redirect value for use with

bbp_get_topic_permalink( $topic_id = 0, $redirect_to = '' )   X-Ref
Return the link to the topic

since: 2.0.0 bbPress (r2485)
return: string Permanent link to topic
param: int $topic_id Optional. Topic id
param: string $redirect_to Optional. Pass a redirect value for use with

bbp_topic_title( $topic_id = 0 )   X-Ref
Output the title of the topic

since: 2.0.0 bbPress (r2485)
param: int $topic_id Optional. Topic id

bbp_get_topic_title( $topic_id = 0 )   X-Ref
Return the title of the topic

since: 2.0.0 bbPress (r2485)
return: string Title of topic
param: int $topic_id Optional. Topic id

bbp_topic_archive_title( $title = '' )   X-Ref
Output the topic archive title

since: 2.0.0 bbPress (r3249)
param: string $title Default text to use as title

bbp_get_topic_archive_title( $title = '' )   X-Ref
Return the topic archive title

since: 2.0.0 bbPress (r3249)
return: string The topic archive title
param: string $title Default text to use as title

bbp_topic_content( $topic_id = 0 )   X-Ref
Output the content of the topic

since: 2.0.0 bbPress (r2780)
param: int $topic_id Optional. Topic id

bbp_get_topic_content( $topic_id = 0 )   X-Ref
Return the content of the topic

since: 2.0.0 bbPress (r2780)
return: string Content of the topic
param: int $topic_id Optional. Topic id

bbp_topic_excerpt( $topic_id = 0, $length = 100 )   X-Ref
Output the excerpt of the topic

since: 2.0.0 bbPress (r2780)
param: int $topic_id Optional. Topic id
param: int $length Optional. Length of the excerpt. Defaults to 100 letters

bbp_get_topic_excerpt( $topic_id = 0, $length = 100 )   X-Ref
Return the excerpt of the topic

since: 2.0.0 bbPress (r2780)
return: string topic Excerpt
param: int $topic_id Optional. topic id
param: int $length Optional. Length of the excerpt. Defaults to 100

bbp_topic_post_date( $topic_id = 0, $humanize = false, $gmt = false )   X-Ref
Output the post date and time of a topic

since: 2.2.0 bbPress (r4155)
param: int $topic_id Optional. Topic id.
param: bool $humanize Optional. Humanize output using time_since
param: bool $gmt Optional. Use GMT

bbp_get_topic_post_date( $topic_id = 0, $humanize = false, $gmt = false )   X-Ref
Return the post date and time of a topic

since: 2.2.0 bbPress (r4155)
return: string
param: int $topic_id Optional. Topic id.
param: bool $humanize Optional. Humanize output using time_since
param: bool $gmt Optional. Use GMT

bbp_topic_pagination( $args = array()   X-Ref
Output pagination links of a topic within the topic loop

since: 2.0.0 bbPress (r2966)
param: array $args See {@link bbp_get_topic_pagination()}

bbp_get_topic_pagination( $args = array()   X-Ref
Returns pagination links of a topic within the topic loop

since: 2.0.0 bbPress (r2966)
return: string Pagination links
param: array $args This function supports these arguments:

bbp_topic_content_append_revisions( $content = '', $topic_id = 0 )   X-Ref
Append revisions to the topic content

since: 2.0.0 bbPress (r2782)
return: string Content with the revisions appended
param: string $content Optional. Content to which we need to append the revisions to
param: int $topic_id Optional. Topic id

bbp_topic_revision_log( $topic_id = 0 )   X-Ref
Output the revision log of the topic

since: 2.0.0 bbPress (r2782)
param: int $topic_id Optional. Topic id

bbp_get_topic_revision_log( $topic_id = 0 )   X-Ref
Return the formatted revision log of the topic

since: 2.0.0 bbPress (r2782)
return: string Revision log of the topic
param: int $topic_id Optional. Topic id

bbp_get_topic_raw_revision_log( $topic_id = 0 )   X-Ref
Return the raw revision log of the topic

since: 2.0.0 bbPress (r2782)
return: string Raw revision log of the topic
param: int $topic_id Optional. Topic id

bbp_get_topic_revisions( $topic_id = 0 )   X-Ref
Return the revisions of the topic

since: 2.0.0 bbPress (r2782)
return: string Topic revisions
param: int $topic_id Optional. Topic id

bbp_get_topic_revision_count( $topic_id = 0, $integer = false )   X-Ref
Return the revision count of the topic

since: 2.0.0 bbPress (r2782)
return: string Topic revision count
param: int $topic_id Optional. Topic id

bbp_is_topic_sticky( $topic_id = 0, $check_super = true )   X-Ref
Is the topic a sticky or super sticky?

since: 2.0.0 bbPress (r2754)
return: bool True if sticky or super sticky, false if not.
param: int $topic_id Optional. Topic id
param: int $check_super Optional. If set to true and if the topic is not a

bbp_is_topic_super_sticky( $topic_id = 0 )   X-Ref
Is the topic a super sticky?

since: 2.0.0 bbPress (r2754)
return: bool True if super sticky, false if not.
param: int $topic_id Optional. Topic id

bbp_topic_status( $topic_id = 0 )   X-Ref
Output the status of the topic

since: 2.0.0 bbPress (r2667)
param: int $topic_id Optional. Topic id

bbp_get_topic_status( $topic_id = 0 )   X-Ref
Return the status of the topic

since: 2.0.0 bbPress (r2667)
return: string Status of topic
param: int $topic_id Optional. Topic id

bbp_is_topic_closed( $topic_id = 0 )   X-Ref
Is the topic closed to new replies?

since: 2.0.0 bbPress (r2746)
return: bool True if closed, false if not.
param: int $topic_id Optional. Topic id

bbp_is_topic_open( $topic_id = 0 )   X-Ref
Is the topic open to new replies?

since: 2.0.0 bbPress (r2727)
return: bool True if open, false if closed.
param: int $topic_id Optional. Topic id

bbp_is_topic_public( $topic_id = 0 )   X-Ref
Is the topic publicly viewable?

See bbp_get_public_topic_statuses() for public statuses.

since: 2.6.0 bbPress (r6383)
return: bool True if public, false if not.
param: int $topic_id Optional. Topic id

bbp_is_topic_published( $topic_id = 0 )   X-Ref
Does the topic have a published status?

since: 2.0.0 bbPress (r3496)
return: bool True if published, false if not.
param: int $topic_id Optional. Topic id

bbp_is_topic_spam( $topic_id = 0 )   X-Ref
Is the topic marked as spam?

since: 2.0.0 bbPress (r2727)
return: bool True if spam, false if not.
param: int $topic_id Optional. Topic id

bbp_is_topic_trash( $topic_id = 0 )   X-Ref
Is the topic trashed?

since: 2.0.0 bbPress (r2888)
return: bool True if trashed, false if not.
param: int $topic_id Optional. Topic id

bbp_is_topic_pending( $topic_id = 0 )   X-Ref
Is the topic pending?

since: 2.6.0 bbPress (r5504)
return: bool True if pending, false if not.
param: int $topic_id Optional. Topic id

bbp_is_topic_private( $topic_id = 0 )   X-Ref
Is the topic private?

since: 2.6.0 bbPress (r5504)
return: bool True if private, false if not.
param: int $topic_id Optional. Topic id

bbp_is_topic_anonymous( $topic_id = 0 )   X-Ref
Is the posted by an anonymous user?

since: 2.0.0 bbPress (r2753)
return: bool True if the post is by an anonymous user, false if not.
param: int $topic_id Optional. Topic id

bbp_topic_author( $topic_id = 0 )   X-Ref
Deprecated. Use bbp_topic_author_display_name() instead.

Output the author of the topic.

since: 2.0.0 bbPress (r2590)
param: int $topic_id Optional. Topic id

bbp_get_topic_author( $topic_id = 0 )   X-Ref
Deprecated. Use bbp_get_topic_author_display_name() instead.

Return the author of the topic

since: 2.0.0 bbPress (r2590)
return: string Author of topic
param: int $topic_id Optional. Topic id

bbp_topic_author_id( $topic_id = 0 )   X-Ref
Output the author ID of the topic

since: 2.0.0 bbPress (r2590)
param: int $topic_id Optional. Topic id

bbp_get_topic_author_id( $topic_id = 0 )   X-Ref
Return the author ID of the topic

since: 2.0.0 bbPress (r2590)
return: string Author of topic
param: int $topic_id Optional. Topic id

bbp_topic_author_display_name( $topic_id = 0 )   X-Ref
Output the author display_name of the topic

since: 2.0.0 bbPress (r2590)
param: int $topic_id Optional. Topic id

bbp_get_topic_author_display_name( $topic_id = 0 )   X-Ref
Return the author display_name of the topic

since: 2.0.0 bbPress (r2485)
return: string Topic's author's display name
param: int $topic_id Optional. Topic id

bbp_topic_author_avatar( $topic_id = 0, $size = 40 )   X-Ref
Output the author avatar of the topic

since: 2.0.0 bbPress (r2590)
param: int $topic_id Optional. Topic id
param: int $size Optional. Avatar size. Defaults to 40

bbp_get_topic_author_avatar( $topic_id = 0, $size = 40 )   X-Ref
Return the author avatar of the topic

since: 2.0.0 bbPress (r2590)
return: string Avatar of the author of the topic
param: int $topic_id Optional. Topic id
param: int $size Optional. Avatar size. Defaults to 40

bbp_topic_author_link( $args = array()   X-Ref
Output the author link of the topic

since: 2.0.0 bbPress (r2717)
param: mixed|int $args If it is an integer, it is used as topic_id. Optional.

bbp_get_topic_author_link( $args = array()   X-Ref
Return the author link of the topic

since: 2.0.0 bbPress (r2717)
return: string Author link of topic
param: mixed|int $args If it is an integer, it is used as topic id.

bbp_topic_author_url( $topic_id = 0 )   X-Ref
Output the author url of the topic

since: 2.0.0 bbPress (r2590)
param: int $topic_id Optional. Topic id

bbp_get_topic_author_url( $topic_id = 0 )   X-Ref
Return the author url of the topic

since: 2.0.0 bbPress (r2590)
return: string Author URL of topic
param: int $topic_id Optional. Topic id

bbp_topic_author_email( $topic_id = 0 )   X-Ref
Output the topic author email address

since: 2.0.0 bbPress (r3445)
param: int $topic_id Optional. Reply id

bbp_get_topic_author_email( $topic_id = 0 )   X-Ref
Return the topic author email address

since: 2.0.0 bbPress (r3445)
return: string Topic author email address
param: int $topic_id Optional. Reply id

bbp_topic_author_role( $args = array()   X-Ref
Output the topic author role

since: 2.1.0 bbPress (r3860)
param: array $args Optional.

bbp_get_topic_author_role( $args = array()   X-Ref
Return the topic author role

since: 2.1.0 bbPress (r3860)
return: string topic author role
param: array $args Optional.

bbp_topic_forum_title( $topic_id = 0 )   X-Ref
Output the title of the forum a topic belongs to

since: 2.0.0 bbPress (r2485)
param: int $topic_id Optional. Topic id

bbp_get_topic_forum_title( $topic_id = 0 )   X-Ref
Return the title of the forum a topic belongs to

since: 2.0.0 bbPress (r2485)
return: string Topic forum title
param: int $topic_id Optional. Topic id

bbp_topic_forum_id( $topic_id = 0 )   X-Ref
Output the forum id a topic belongs to

since: 2.0.0 bbPress (r2491)
param: int $topic_id Optional. Topic id

bbp_get_topic_forum_id( $topic_id = 0 )   X-Ref
Return the forum id a topic belongs to

since: 2.0.0 bbPress (r2491)
return: int Topic forum id
param: int $topic_id Optional. Topic id

bbp_topic_last_active_id( $topic_id = 0 )   X-Ref
Output the topics last active ID

since: 2.0.0 bbPress (r2860)
param: int $topic_id Optional. Forum id

bbp_get_topic_last_active_id( $topic_id = 0 )   X-Ref
Return the topics last active ID

since: 2.0.0 bbPress (r2860)
return: int Forum's last active id
param: int $topic_id Optional. Forum id

bbp_topic_last_active_time( $topic_id = 0 )   X-Ref
Output the topics last update date/time (aka freshness)

since: 2.0.0 bbPress (r2625)
param: int $topic_id Optional. Topic id

bbp_get_topic_last_active_time( $topic_id = 0 )   X-Ref
Return the topics last update date/time (aka freshness)

since: 2.0.0 bbPress (r2625)
return: string Topic freshness
param: int $topic_id Optional. Topic id

bbp_topic_subscription_link( $args = array()   X-Ref
Output the topic subscription link

since: 2.5.0 bbPress (r5156)
since: 2.6.0 bbPress (r6308) Add 'redirect_to' support

bbp_get_topic_subscription_link( $args = array()   X-Ref
Get the topic subscription link

A custom wrapper for bbp_get_user_subscribe_link()

since: 2.5.0 bbPress (r5156)
since: 2.6.0 bbPress (r6308) Add 'redirect_to' support

bbp_topic_favorite_link( $args = array()   X-Ref
Output the topic favorite link

since: 2.5.0 bbPress (r5156)
since: 2.6.0 bbPress (r6308) Add 'redirect_to' support

bbp_get_topic_favorite_link( $args = array()   X-Ref
Get the forum favorite link

A custom wrapper for bbp_get_user_favorites_link()

since: 2.5.0 bbPress (r5156)
since: 2.6.0 bbPress (r6308) Add 'redirect_to' support

bbp_topic_last_reply_id( $topic_id = 0 )   X-Ref
Output the id of the topics last reply

since: 2.0.0 bbPress (r2625)
param: int $topic_id Optional. Topic id

bbp_get_topic_last_reply_id( $topic_id = 0 )   X-Ref
Return the id of the topics last reply

since: 2.0.0 bbPress (r2625)
return: int Topic last reply id
param: int $topic_id Optional. Topic id

bbp_topic_last_reply_title( $topic_id = 0 )   X-Ref
Output the title of the last reply inside a topic

since: 2.0.0 bbPress (r2753)
param: int $topic_id Optional. Topic id

bbp_get_topic_last_reply_title( $topic_id = 0 )   X-Ref
Return the title of the last reply inside a topic

since: 2.0.0 bbPress (r2753)
since: 2.6.0 bbPress https://bbpress.trac.wordpress.org/ticket/3039
return: string Topic last reply title
param: int $topic_id Optional. Topic id

bbp_topic_last_reply_permalink( $topic_id = 0 )   X-Ref
Output the link to the last reply in a topic

since: 2.0.0 bbPress (r2464)
param: int $topic_id Optional. Topic id

bbp_get_topic_last_reply_permalink( $topic_id = 0 )   X-Ref
Return the link to the last reply in a topic

since: 2.0.0 bbPress (r2464)
return: string Permanent link to the reply
param: int $topic_id Optional. Topic id

bbp_topic_last_reply_url( $topic_id = 0 )   X-Ref
Output the link to the last reply in a topic

since: 2.0.0 bbPress (r2683)
param: int $topic_id Optional. Topic id

bbp_get_topic_last_reply_url( $topic_id = 0 )   X-Ref
Return the link to the last reply in a topic

since: 2.0.0 bbPress (r2683)
return: string Topic last reply url
param: int $topic_id Optional. Topic id

bbp_topic_freshness_link( $topic_id = 0 )   X-Ref
Output link to the most recent activity inside a topic, complete with link
attributes and content.

since: 2.0.0 bbPress (r2625)
param: int $topic_id Optional. Topic id

bbp_get_topic_freshness_link( $topic_id = 0 )   X-Ref
Returns link to the most recent activity inside a topic, complete
with link attributes and content.

since: 2.0.0 bbPress (r2625)
return: string Topic freshness link
param: int $topic_id Optional. Topic id

bbp_topic_replies_link( $topic_id = 0 )   X-Ref
Output the replies link of the topic

since: 2.0.0 bbPress (r2740)
param: int $topic_id Optional. Topic id

bbp_get_topic_replies_link( $topic_id = 0 )   X-Ref
Return the replies link of the topic

since: 2.0.0 bbPress (r2740)
param: int $topic_id Optional. Topic id

bbp_topic_reply_count( $topic_id = 0, $integer = false )   X-Ref
Output total reply count of a topic

since: 2.0.0 bbPress (r2485)
param: int $topic_id Optional. Topic id
param: boolean $integer Optional. Whether or not to format the result

bbp_get_topic_reply_count( $topic_id = 0, $integer = false )   X-Ref
Return total reply count of a topic

since: 2.0.0 bbPress (r2485)
return: int Reply count
param: int $topic_id Optional. Topic id
param: boolean $integer Optional. Whether or not to format the result

bbp_topic_post_count( $topic_id = 0, $integer = false )   X-Ref
Output total post count of a topic

since: 2.0.0 bbPress (r2954)
param: int $topic_id Optional. Topic id
param: boolean $integer Optional. Whether or not to format the result

bbp_get_topic_post_count( $topic_id = 0, $integer = false )   X-Ref
Return total post count of a topic

since: 2.0.0 bbPress (r2954)
return: int Post count
param: int $topic_id Optional. Topic id
param: boolean $integer Optional. Whether or not to format the result

bbp_topic_reply_count_hidden( $topic_id = 0, $integer = false )   X-Ref
Output total hidden reply count of a topic (hidden includes trashed and
spammed replies)

since: 2.0.0 bbPress (r2740)
param: int $topic_id Optional. Topic id
param: boolean $integer Optional. Whether or not to format the result

bbp_get_topic_reply_count_hidden( $topic_id = 0, $integer = false )   X-Ref
Return total hidden reply count of a topic (hidden includes trashed
and spammed replies)

since: 2.0.0 bbPress (r2740)
return: int Topic hidden reply count
param: int $topic_id Optional. Topic id
param: boolean $integer Optional. Whether or not to format the result

bbp_topic_voice_count( $topic_id = 0, $integer = false )   X-Ref
Output total voice count of a topic

since: 2.0.0 bbPress (r2567)
param: int $topic_id Optional. Topic id

bbp_get_topic_voice_count( $topic_id = 0, $integer = false )   X-Ref
Return total voice count of a topic

since: 2.0.0 bbPress (r2567)
return: int Voice count of the topic
param: int $topic_id Optional. Topic id

bbp_topic_tag_list( $topic_id = 0, $args = array()   X-Ref
Output a the tags of a topic

since: 2.0.0 bbPress (r2688)
param: int $topic_id Optional. Topic id
param: array $args See {@link bbp_get_topic_tag_list()}

bbp_get_topic_tag_list( $topic_id = 0, $args = array()   X-Ref
Return the tags of a topic

since: 2.0.0 bbPress (r2688)
return: string Tag list of the topic
param: int $topic_id Optional. Topic id
param: array $args This function supports these arguments:

bbp_topic_class( $topic_id = 0, $classes = array()   X-Ref
Output the row class of a topic

since: 2.0.0 bbPress (r2667)
param: int $topic_id Optional. Topic id
param: array Extra classes you can pass when calling this function

bbp_get_topic_class( $topic_id = 0, $classes = array()   X-Ref
Return the row class of a topic

since: 2.0.0 bbPress (r2667)
return: string Row class of a topic
param: int $topic_id Optional. Topic id
param: array Extra classes you can pass when calling this function

bbp_topic_admin_links( $args = array()   X-Ref
Output admin links for topic

param: array $args See {@link bbp_get_topic_admin_links()}

bbp_get_topic_admin_links( $args = array()   X-Ref
Return admin links for topic.

Move topic functionality is handled by the edit topic page.

return: string Topic admin links
param: array $args This function supports these arguments:

bbp_topic_edit_link( $args = array()   X-Ref
Output the edit link of the topic

since: 2.0.0 bbPress (r2727)
param: array $args See {@link bbp_get_topic_edit_link()}

bbp_get_topic_edit_link( $args = array()   X-Ref
Return the edit link of the topic

since: 2.0.0 bbPress (r2727)
return: string Topic edit link
param: array $args This function supports these args:

bbp_topic_edit_url( $topic_id = 0 )   X-Ref
Output URL to the topic edit page

since: 2.0.0 bbPress (r2753)
param: int $topic_id Optional. Topic id

bbp_get_topic_edit_url( $topic_id = 0 )   X-Ref
Return URL to the topic edit page

since: 2.0.0 bbPress (r2753)
return: string Topic edit url
param: int $topic_id Optional. Topic id

bbp_topic_trash_link( $args = array()   X-Ref
Output the trash link of the topic

since: 2.0.0 bbPress (r2727)
param: array $args See {@link bbp_get_topic_trash_link()}

bbp_get_topic_trash_link( $args = array()   X-Ref
Return the trash link of the topic

since: 2.0.0 bbPress (r2727)
return: string Topic trash link
param: array $args This function supports these args:

bbp_topic_close_link( $args = array()   X-Ref
Output the close link of the topic

since: 2.0.0 bbPress (r2727)
param: array $args See {@link bbp_get_topic_close_link()}

bbp_get_topic_close_link( $args = array()   X-Ref
Return the close link of the topic

since: 2.0.0 bbPress (r2727)
return: string Topic close link
param: array $args This function supports these args:

bbp_topic_approve_link( $args = array()   X-Ref
Output the approve link of the topic

since: 2.6.0 bbPress (r5504)
param: array $args See {@link bbp_get_topic_approve_link()}

bbp_get_topic_approve_link( $args = array()   X-Ref
Return the approve link of the topic

since: 2.6.0 bbPress (r5504)
return: string Topic approve link
param: array $args This function supports these args:

bbp_topic_stick_link( $args = array()   X-Ref
Output the stick link of the topic

since: 2.0.0 bbPress (r2754)
param: array $args See {@link bbp_get_topic_stick_link()}

bbp_get_topic_stick_link( $args = array()   X-Ref
Return the stick link of the topic

since: 2.0.0 bbPress (r2754)
return: string Topic stick link
param: array $args This function supports these args:

bbp_topic_merge_link( $args = array()   X-Ref
Output the merge link of the topic

since: 2.0.0 bbPress (r2756)
param: array $args

bbp_get_topic_merge_link( $args = array()   X-Ref
Return the merge link of the topic

since: 2.0.0 bbPress (r2756)
return: string Topic merge link
param: array $args This function supports these args:

bbp_topic_spam_link( $args = array()   X-Ref
Output the spam link of the topic

since: 2.0.0 bbPress (r2727)
param: array $args See {@link bbp_get_topic_spam_link()}

bbp_get_topic_spam_link( $args = array()   X-Ref
Return the spam link of the topic

since: 2.0.0 bbPress (r2727)
return: string Topic spam link
param: array $args This function supports these args:

bbp_topic_reply_link( $args = array()   X-Ref
Output the link to go directly to the reply form

since: 2.4.0 bbPress (r4966)
param: array $args

bbp_get_topic_reply_link( $args = array()   X-Ref
Return the link to go directly to the reply form

since: 2.4.0 bbPress (r4966)
return: string Link for a reply to a topic
param: array $args Arguments

bbp_get_topics_pagination_base( $forum_id = 0 )   X-Ref
Return the base URL used inside of pagination links

since: 2.6.0 bbPress (r6402)
return: string
param: int $forum_id

bbp_forum_pagination_count()   X-Ref
Output the pagination count

The results are unescaped by design, to allow them to be filtered freely via
the 'bbp_get_forum_pagination_count' filter.

since: 2.0.0 bbPress (r2519)

bbp_get_forum_pagination_count()   X-Ref
Return the pagination count

since: 2.0.0 bbPress (r2519)
return: string Forum Pagination count

bbp_forum_pagination_links()   X-Ref
Output pagination links

since: 2.0.0 bbPress (r2519)

bbp_get_forum_pagination_links()   X-Ref
Return pagination links

since: 2.0.0 bbPress (r2519)
return: string Pagination links

bbp_topic_notices()   X-Ref
Displays topic notices

since: 2.0.0 bbPress (r2744)

bbp_topic_type_select( $args = array()   X-Ref
Displays topic type select box (normal/sticky/super sticky)

since: 2.0.0 bbPress (r2784)
param: $args This function supports these arguments:

bbp_form_topic_type_dropdown( $args = array()   X-Ref
Displays topic type select box (normal/sticky/super sticky)

since: 2.4.0 bbPress (r5059)
param: $args This function supports these arguments:

bbp_get_form_topic_type_dropdown( $args = array()   X-Ref
Returns topic type select box (normal/sticky/super sticky)

since: 2.4.0 bbPress (r5059)
param: $args This function supports these arguments:

bbp_form_topic_status_dropdown( $args = array()   X-Ref
Output value topic status dropdown

since: 2.4.0 bbPress (r5059)
param: $args This function supports these arguments:

bbp_get_form_topic_status_dropdown( $args = array()   X-Ref
Returns topic status dropdown

This dropdown is only intended to be seen by users with the 'moderate'
capability. Because of this, no additional capability checks are performed
within this function to check available topic statuses.

since: 2.4.0 bbPress (r5059)
param: $args This function supports these arguments:

bbp_single_topic_description( $args = array()   X-Ref
Output a fancy description of the current topic, including total topics,
total replies, and last activity.

since: 2.0.0 bbPress (r2860)
param: array $args See {@link bbp_get_single_topic_description()}

bbp_get_single_topic_description( $args = array()   X-Ref
Return a fancy description of the current topic, including total topics,
total replies, and last activity.

since: 2.0.0 bbPress (r2860)
return: string Filtered topic description
param: array $args This function supports these arguments:

bbp_topic_tag_tax_id()   X-Ref
Output the unique id of the topic tag taxonomy

since: 2.0.0 bbPress (r3348)

bbp_get_topic_tag_tax_id()   X-Ref
Return the unique id of the topic tag taxonomy

since: 2.0.0 bbPress (r3348)
return: string The unique topic tag taxonomy

bbp_get_topic_tag_tax_labels()   X-Ref
Return array of labels used by the topic-tag taxonomy

since: 2.5.0 bbPress (r5129)
return: array

bbp_get_topic_tag_tax_rewrite()   X-Ref
Return an array of topic-tag taxonomy rewrite settings

since: 2.5.0 bbPress (r5129)
return: array

bbp_topic_tag_id( $tag = '' )   X-Ref
Output the id of the current tag

since: 2.0.0 bbPress (r3109)

bbp_get_topic_tag_id( $tag = '' )   X-Ref
Return the id of the current tag

since: 2.0.0 bbPress (r3109)
return: string Term Name

bbp_topic_tag_name( $tag = '' )   X-Ref
Output the name of the current tag

since: 2.0.0 bbPress (r3109)

bbp_get_topic_tag_name( $tag = '' )   X-Ref
Return the name of the current tag

since: 2.0.0 bbPress (r3109)
return: string Term Name

bbp_topic_tag_slug( $tag = '' )   X-Ref
Output the slug of the current tag

since: 2.0.0 bbPress (r3109)

bbp_get_topic_tag_slug( $tag = '' )   X-Ref
Return the slug of the current tag

since: 2.0.0 bbPress (r3109)
return: string Term Name

bbp_topic_tag_link( $tag = '' )   X-Ref
Output the link of the current tag

since: 2.0.0 bbPress (r3348)

bbp_get_topic_tag_link( $tag = '' )   X-Ref
Return the link of the current tag

since: 2.0.0 bbPress (r3348)
return: string Term Name

bbp_topic_tag_edit_link( $tag = '' )   X-Ref
Output the link of the current tag

since: 2.0.0 bbPress (r3348)

bbp_get_topic_tag_edit_link( $tag = '' )   X-Ref
Return the link of the current tag

since: 2.0.0 bbPress (r3348)
return: string Term Name

bbp_topic_tag_description( $args = array()   X-Ref
Output the description of the current tag

since: 2.0.0 bbPress (r3109)

bbp_get_topic_tag_description( $args = array()   X-Ref
Return the description of the current tag

since: 2.0.0 bbPress (r3109)
return: string Term Name
param: array $args before|after|tag

bbp_form_topic_title()   X-Ref
Output the value of topic title field

since: 2.0.0 bbPress (r2976)

bbp_get_form_topic_title()   X-Ref
Return the value of topic title field

since: 2.0.0 bbPress (r2976)
return: string Value of topic title field

bbp_form_topic_content()   X-Ref
Output the value of topic content field

since: 2.0.0 bbPress (r2976)

bbp_get_form_topic_content()   X-Ref
Return the value of topic content field

since: 2.0.0 bbPress (r2976)
return: string Value of topic content field

bbp_topic_row_actions()   X-Ref
Allow topic rows to have administrative actions

since: 2.1.0 bbPress (r3653)

bbp_form_topic_tags()   X-Ref
Output value of topic tags field

since: 2.0.0 bbPress (r2976)

bbp_get_form_topic_tags()   X-Ref
Return value of topic tags field

since: 2.0.0 bbPress (r2976)
return: string Value of topic tags field

bbp_form_topic_forum()   X-Ref
Output value of topic forum

since: 2.0.0 bbPress (r2976)

bbp_get_form_topic_forum()   X-Ref
Return value of topic forum

since: 2.0.0 bbPress (r2976)
return: string Value of topic content field

bbp_form_topic_subscribed()   X-Ref
Output checked value of topic subscription

since: 2.0.0 bbPress (r2976)

bbp_get_form_topic_subscribed()   X-Ref
Return checked value of topic subscription

since: 2.0.0 bbPress (r2976)
return: string Checked value of topic subscription

bbp_form_topic_log_edit()   X-Ref
Output checked value of topic log edit field

since: 2.0.0 bbPress (r2976)

bbp_get_form_topic_log_edit()   X-Ref
Return checked value of topic log edit field

since: 2.0.0 bbPress (r2976)
return: string Topic log edit checked value

bbp_form_topic_edit_reason()   X-Ref
Output the value of the topic edit reason

since: 2.0.0 bbPress (r2976)

bbp_get_form_topic_edit_reason()   X-Ref
Return the value of the topic edit reason

since: 2.0.0 bbPress (r2976)
return: string Topic edit reason value

bbp_is_topic_form_post_request()   X-Ref
Verify if a POST request came from a failed topic attempt.

Used to avoid cross-site request forgeries when checking posted topic form
content.

since: 2.6.0 bbPress (r5558)
return: boolean True if is a post request with valid nonce

bbp_show_topic_lock_alert()   X-Ref
Should the topic-lock alert appear?

since: 2.6.0 bbPress (r6342)
return: bool

bbp_topic_lock_description( $topic_id = 0 )   X-Ref
Output the topic lock description

since: 2.6.0 bbPress (r6343)
param: int $topic_id Optional. Topic id

bbp_get_topic_lock_description( $topic_id = 0 )   X-Ref
Return the topic lock description

since: 2.6.0 bbPress (r6343)
param: int $topic_id Optional. Topic id



Generated: Sat Dec 21 01:00:52 2024 Cross-referenced by PHPXref 0.7.1