Contents
bbp_get_reply_post_type()
Return the unique id of the custom post type for replies
Description
Return
(string) The unique reply post type id
Source
File: bp-forums/replies/template.php
function bbp_get_reply_post_type() { return apply_filters( 'bbp_get_reply_post_type', bbpress()->reply_post_type ); }
Changelog
Version | Description |
---|---|
bbPress (r2857) | Introduced. |
Related
Uses
Uses | Description |
---|---|
bp-forums/classes/class-bbpress.php: bbpress() |
The main function responsible for returning the one true bbPress Instance to functions everywhere. |
Used By | Description |
---|---|
bp-document/classes/class-bp-rest-document-endpoint.php: BP_REST_Document_Endpoint::bbp_document_update_rest_field_callback() |
The function to use to update the document’s value of the topic REST Field. |
bp-document/bp-document-filters.php: bp_document_forums_new_post_document_save() |
Save document when new topic or reply is saved |
bp-media/bp-media-functions.php: bp_media_get_forum_id() | |
bp-forums/core/functions.php: bbp_fix_forums_media() |
Fix forums media |
bp-forums/classes/class-bp-rest-topics-actions-endpoint.php: BP_REST_Topics_Actions_Endpoint::merge_item() |
Merge Topic |
bp-forums/classes/class-bp-rest-topics-actions-endpoint.php: BP_REST_Topics_Actions_Endpoint::split_item() |
Split Topic |
bp-forums/classes/class-bp-rest-reply-actions-endpoint.php: BP_REST_Reply_Actions_Endpoint::move_item() |
Move a Reply. |
bp-forums/classes/class-bp-rest-reply-endpoint.php: BP_REST_Reply_Endpoint::get_items() |
Retrieve Replies. |
bp-forums/classes/class-bp-rest-reply-endpoint.php: BP_REST_Reply_Endpoint::get_item() |
Retrieve a single reply. |
bp-forums/classes/class-bp-rest-reply-endpoint.php: BP_REST_Reply_Endpoint::create_item() |
Create a reply. |
bp-forums/classes/class-bp-rest-reply-endpoint.php: BP_REST_Reply_Endpoint::update_item() |
Update/Edit a reply. |
bp-forums/classes/class-bp-rest-bbp-walker-reply.php: Rest_BBP_Walker_Reply::__construct() |
Confirm the tree_type |
bp-media/bp-media-functions.php: bp_media_import_buddyboss_reply_media() |
Import reply media from BuddyBoss Media Plugin |
bp-forums/admin/tools.php: bbp_admin_repair_reply_menu_order() |
Recalculate reply menu order |
bp-forums/admin/tools.php: bbp_admin_repair_user_reply_count() |
Recount topic replied by the users |
bp-forums/admin/tools.php: bbp_admin_repair_topic_hidden_reply_count() |
Recount topic hidden replies (spammed/trashed) |
bp-forums/admin/replies.php: BBP_Replies_Admin::row_actions() |
Reply Row actions |
bp-forums/admin/metaboxes.php: bbp_dashboard_widget_right_now() |
Forums Dashboard Right Now Widget |
bp-forums/admin/metaboxes.php: bbp_reply_metabox() |
Reply metabox |
bp-forums/admin/tools.php: bbp_admin_repair_topic_reply_count() |
Recount topic replies |
bp-forums/admin/tools.php: bbp_admin_repair_topic_voice_count() |
Recount topic members |
bp-forums/admin/replies.php: BBP_Replies_Admin::setup_globals() |
Admin globals |
bp-forums/admin/admin.php: BBP_Admin::enqueue_scripts() |
Enqueue any admin scripts we might need |
bp-forums/admin/admin.php: BBP_Admin::suggest_reply() |
Ajax action for facilitating the reply auto-suggest |
bp-forums/admin/admin.php: BBP_Admin::bbp_remove_comments_discussion_meta_boxes() |
Remove “Comments” & “Discussion” metabox from bbp_get_reply_post_type() custom post type. |
bp-forums/admin/functions.php: bbp_admin_menu_order() |
Move our custom separator above our custom post types |
bp-forums/core/cache.php: bbp_clean_post_cache() |
Will clean a post in the cache. |
bp-forums/core/theme-compat.php: bbp_template_include_theme_compat() |
Reset main query vars and filter ‘the_content’ to output a Forums template part as needed. |
bp-forums/core/theme-compat.php: bbp_force_comment_status() |
Force comments_status to ‘closed’ for Forums post types |
bp-forums/core/template-functions.php: bbp_parse_query() |
Add checks for Forums conditions to parse_query action |
bp-forums/core/template-loader.php: bbp_get_reply_move_template() |
Get the reply move template |
bp-forums/core/template-loader.php: bbp_get_single_reply_template() |
Get the single reply template |
bp-forums/core/template-loader.php: bbp_get_reply_edit_template() |
Get the reply edit template |
bp-forums/topics/template.php: bbp_get_form_topic_tags() |
Return value of topic tags field |
bp-forums/topics/functions.php: bbp_spam_topic() |
Marks a topic as spam |
bp-forums/topics/functions.php: bbp_delete_topic() |
Called before deleting a topic. |
bp-forums/topics/functions.php: bbp_trash_topic() |
Called before trashing a topic |
bp-forums/topics/functions.php: bbp_update_topic_reply_count() |
Adjust the total reply count of a topic |
bp-forums/topics/functions.php: bbp_update_topic_reply_count_hidden() |
Adjust the total hidden reply count of a topic (hidden includes trashed and spammed replies) |
bp-forums/topics/functions.php: bbp_update_topic_last_active_id() |
Update the topic with the last active post ID |
bp-forums/topics/functions.php: bbp_update_topic_last_active_time() |
Update the topics last active date/time (aka freshness) |
bp-forums/topics/functions.php: bbp_update_topic_last_reply_id() |
Update the topic with the most recent reply ID |
bp-forums/topics/functions.php: bbp_update_topic_voice_count() |
Adjust the total voice count of a topic |
bp-forums/topics/functions.php: bbp_update_topic_anonymous_reply_count() |
Adjust the total anonymous reply count of a topic |
bp-forums/topics/functions.php: bbp_move_topic_handler() |
Handle the moving of a topic from one forum to another. This includes walking up the old and new branches and updating the counts. |
bp-forums/topics/functions.php: bbp_merge_topic_handler() |
Merge topic handler |
bp-forums/topics/functions.php: bbp_split_topic_handler() |
Split topic handler |
bp-forums/users/capabilities.php: bbp_make_spam_user() |
Mark a users topics and replies as spam when the user is marked as spam |
bp-forums/users/capabilities.php: bbp_make_ham_user() |
Mark a users topics and replies as spam when the user is marked as spam |
bp-forums/users/functions.php: bbp_get_user_replies_created() |
Get the replies that a user created |
bp-forums/users/functions.php: bbp_get_user_reply_count_raw() |
Return the raw database count of replies by a user |
bp-forums/groups.php: BBP_Forums_Group_Extension::maybe_map_permalink_to_group() |
Maybe map a Forums forum/topic/reply permalink to the corresponding group |
bp-forums/forums/template.php: bbp_suppress_private_author_link() |
Replace forum author details for users that cannot view them. |
bp-forums/forums/functions.php: bbp_forum_enforce_private() |
Check if it’s a private forum or a topic or reply of a private forum and if the user can’t view it, then sets a 404 |
bp-forums/forums/functions.php: bbp_pre_get_posts_normalize_forum_visibility() |
Adjusts forum, topic, and reply queries to exclude items that might be contained inside hidden or private forums that the user does not have the capability to view. |
bp-forums/forums/functions.php: bbp_forum_query_last_reply_id() |
Returns the forum’s last reply id |
bp-forums/forums/functions.php: bbp_forum_enforce_hidden() |
Check if it’s a hidden forum or a topic or reply of a hidden forum and if the user can’t view it, then sets a 404 |
bp-forums/forums/functions.php: bbp_update_forum_reply_count() |
Adjust the total reply count of a forum |
bp-forums/classes/class-bbpress.php: bbPress::add_rewrite_rules() |
Add Forums-specific rewrite rules for uri’s that are not setup for us by way of custom post types or taxonomies. This includes: – Front-end editing – Topic views – User profiles |
bp-forums/classes/class-bbpress.php: bbPress::register_post_types() |
Setup the post types for forums, topics and replies |
bp-forums/common/widgets.php: BBP_Replies_Widget::widget() |
Displays the output, the replies list |
bp-forums/common/shortcodes.php: BBP_Shortcodes::display_reply() |
Display the contents of a specific reply ID in an output buffer and return to ensure that post/page contents are displayed first. |
bp-forums/common/template.php: bbp_get_breadcrumb() |
Return a breadcrumb ( forum -> topic -> reply ) |
bp-forums/common/template.php: bbp_reply_attributes_meta_box_discussion_reply_title() |
Set the ID if title is blank. |
bp-forums/common/template.php: bbp_body_class() |
Use the above is_() functions to output a body class for each scenario |
bp-forums/common/template.php: bbp_is_single_reply() |
Viewing a single reply |
bp-forums/common/template.php: bbp_is_reply() |
Check if current page is a Forums reply |
bp-forums/common/template.php: bbp_is_reply_edit() |
Check if current page is a reply edit page |
bp-forums/common/template.php: bbp_is_custom_post_type() |
Check if the current post type is one of Forums’ |
bp-forums/common/functions.php: bbp_request_feed_trap() |
This function is hooked into the WordPress ‘request’ action and is responsible for sniffing out the query vars and serving up RSS2 feeds if the stars align and the user has requested a feed of any Forums type. |
bp-forums/common/functions.php: bbp_fix_post_author() |
Fix post author id on post save |
bp-forums/common/functions.php: bbp_get_statistics() |
Get the forum statistics |
bp-forums/common/functions.php: bbp_check_for_duplicate() |
Check for duplicate topics/replies |
bp-forums/activity.php: BBP_BuddyPress_Activity::reply_update() |
Update the activity stream entry when a reply status changes |
bp-forums/extend/akismet.php: BBP_Akismet::add_metaboxes() |
Add Aksimet History metaboxes to topics and replies |
bp-forums/admin.php: bp_replies_admin_replies_listing_add_tab() |
Add Navigation tab on top of the page BuddyBoss > Forums > Replies Templates |
bp-forums/admin.php: bbp_set_platform_tab_submenu_active() |
Highlights the submenu item using WordPress native styles. |
bp-forums/admin.php: bp_core_get_forums_admin_tabs() |
Register tabs for the BuddyBoss > Forums screens. |
bp-forums/admin.php: bp_forums_highlight_forums_new_parent_menu() |
Make paretn menu highlight when on editing/creating topic |
bp-forums/admin.php: bp_forums_highlight_forums_new_submenu() |
Make submenu highlight when on editing/creating topic |
bp-forums/admin.php: bp_forums_highlight_forums_view_parent_menu() |
Make paretn menu highlight when on editing/creating topic |
bp-forums/admin.php: bp_forums_highlight_forums_view_submenu() |
Make submenu highlight when on editing/creating topic |
bp-forums/replies/template.php: bbp_get_reply_edit_url() |
Return URL to the reply edit page |
bp-forums/replies/template.php: bbp_get_reply() |
Gets a reply |
bp-forums/replies/template.php: bbp_reply_post_type() |
Return the unique id of the custom post type for replies |
bp-forums/replies/template.php: bbp_has_replies() |
The main reply loop. WordPress makes this easy for us |
bp-forums/replies/functions.php: _bbp_has_replies_where() |
Used by bbp_has_replies() to add the lead topic post to the posts loop |
bp-forums/replies/functions.php: bbp_get_reply_position_raw() |
Get the position of a reply by querying the DB directly for the replies of a given topic. |
bp-forums/replies/functions.php: bbp_toggle_reply_handler() |
Handles the front end spamming/unspamming and trashing/untrashing/deleting of replies |
bp-forums/replies/functions.php: bbp_move_reply_handler() |
Move reply handler |
bp-forums/replies/functions.php: bbp_insert_reply() |
A wrapper for wp_insert_post() that also includes the necessary meta values for the reply to function properly. |
bp-forums/replies/functions.php: bbp_new_reply_handler() |
Handles the front end reply submission |
bp-forums/replies/functions.php: bbp_edit_reply_handler() |
Handles the front end edit reply submission |
bp-forums/search/template.php: bbp_has_search_results() |
The main search loop. WordPress does the heavy lifting. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.