Contents
bbp_get_public_status_id()
Return the public post status ID
Description
Return
(string)
Source
File: bp-forums/core/functions.php
function bbp_get_public_status_id() { return bbpress()->public_status_id; }
Changelog
Version | Description |
---|---|
bbPress (r3504) | 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-groups/classes/class-bp-rest-group-settings-endpoint.php: BP_REST_Group_Settings_Endpoint::update_forum_fields() |
Update Group Forum settings. |
bp-forums/classes/class-bp-rest-topics-endpoint.php: BP_REST_Topics_Endpoint::create_item() |
Create a topic. |
bp-forums/classes/class-bp-rest-topics-endpoint.php: BP_REST_Topics_Endpoint::update_item() |
Update/Edit a topic. |
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-forums-endpoint.php: BP_REST_Forums_Endpoint::get_items() |
Retrieve Forums. |
bp-forums/functions.php: bbp_forum_update_forum_status_when_group_updates() |
Update Forum status depending on the group status |
bp-forums/admin/tools.php: bbp_admin_repair_user_topic_count() |
Recount topics by the users |
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_user_favorites() |
Clean the users’ favorites |
bp-forums/admin/tools.php: bbp_admin_repair_user_topic_subscriptions() |
Clean the users’ topic subscriptions |
bp-forums/admin/tools.php: bbp_admin_repair_user_forum_subscriptions() |
Clean the users’ forum subscriptions |
bp-forums/admin/tools.php: bbp_admin_repair_freshness() |
Recaches the last post in every topic and forum |
bp-forums/admin/replies.php: BBP_Replies_Admin::row_actions() |
Reply Row actions |
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/topics.php: BBP_Topics_Admin::row_actions() |
Topic Row actions |
bp-forums/core/theme-compat.php: bbp_theme_compat_reset_post() |
This fun little function fills up some WordPress globals with dummy data to stop your average page template from complaining about it missing. |
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/topics/capabilities.php: bbp_map_topic_meta_caps() |
Maps topic capabilities |
bp-forums/topics/template.php: bbp_get_form_topic_status_dropdown() |
Returns topic status downdown |
bp-forums/topics/template.php: bbp_is_topic_published() |
Is the topic not spam or deleted? |
bp-forums/topics/template.php: bbp_has_topics() |
The main topic loop. WordPress makes this easy for us |
bp-forums/topics/functions.php: bbp_spam_topic() |
Marks a topic as spam |
bp-forums/topics/functions.php: bbp_unspam_topic() |
Unspams a topic |
bp-forums/topics/functions.php: bbp_trash_topic() |
Called before trashing a topic |
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_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_get_topic_statuses() |
Return an associative array of available topic statuses |
bp-forums/topics/functions.php: bbp_update_topic_walker() |
Walks up the post_parent tree from the current topic_id, and updates the counts of forums above it. This calls a few internal functions that all run manual queries against the database to get their results. As such, this function can be costly to run but is necessary to keep everything accurate. |
bp-forums/topics/functions.php: bbp_insert_topic() |
A wrapper for wp_insert_post() that also includes the necessary meta values for the topic to function properly. |
bp-forums/topics/functions.php: bbp_new_topic_handler() |
Handles the front end topic submission |
bp-forums/topics/functions.php: bbp_edit_topic_handler() |
Handles the front end edit topic submission |
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/template.php: bbp_get_forums_for_current_user() |
Get the forums the current user has the ability to see and post to |
bp-forums/groups.php: BBP_Forums_Group_Extension::create_screen_save() |
Save the Group Forum data on create |
bp-forums/groups.php: BBP_Forums_Group_Extension::edit_screen_save() |
Save the Group Forum data on edit |
bp-forums/forums/capabilities.php: bbp_map_forum_meta_caps() |
Maps forum capabilities |
bp-forums/forums/template.php: bbp_get_form_forum_type_dropdown() |
Return the forum type dropdown |
bp-forums/forums/template.php: bbp_get_form_forum_status_dropdown() |
Return the forum status dropdown |
bp-forums/forums/template.php: bbp_get_form_forum_visibility_dropdown() |
Return the forum visibility dropdown |
bp-forums/forums/template.php: bbp_is_forum_public() |
Is the forum public? |
bp-forums/forums/template.php: bbp_forum_get_subforums() |
Return subforums of given forum |
bp-forums/forums/template.php: bbp_has_forums() |
The main forum loop. |
bp-forums/forums/functions.php: bbp_trash_forum_topics() |
Trash all topics inside a forum |
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_get_forum_visibilities() |
Return an associative array of forum visibility |
bp-forums/forums/functions.php: bbp_update_forum_reply_count() |
Adjust the total reply count of a forum |
bp-forums/forums/functions.php: bbp_update_forum() |
Updates the counts of a forum. |
bp-forums/forums/functions.php: bbp_update_forum_last_active_id() |
Update the forum last active post id |
bp-forums/forums/functions.php: bbp_insert_forum() |
A wrapper for wp_insert_post() that also includes the necessary meta values for the forum to function properly. |
bp-forums/forums/functions.php: bbp_new_forum_handler() |
Handles the front end forum submission |
bp-forums/forums/functions.php: bbp_edit_forum_handler() |
Handles the front end edit forum submission |
bp-forums/forums/functions.php: bbp_save_forum_extras() |
Handle the saving of core forum metadata (Status, Visibility, and Type) |
bp-forums/forums/functions.php: bbp_publicize_forum() |
Mark the forum as public |
bp-forums/common/widgets.php: BBP_Replies_Widget::widget() |
Displays the output, the replies list |
bp-forums/common/widgets.php: BBP_Forums_Widget::widget() |
Displays the output, the forum list |
bp-forums/common/widgets.php: BBP_Topics_Widget::widget() |
Displays the output, the topic list |
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_get_public_child_last_id() |
Query the DB and get the last public post_id that has parent_id as post_parent |
bp-forums/common/functions.php: bbp_get_public_child_count() |
Query the DB and get a count of public children |
bp-forums/common/functions.php: bbp_get_public_child_ids() |
Query the DB and get a the child id’s of public children |
bp-forums/activity.php: BBP_BuddyPress_Activity::topic_update() |
Update the activity stream entry when a topic status changes |
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::check_post() |
Converts topic/reply data into Akismet comment checking format |
bp-forums/replies/capabilities.php: bbp_map_reply_meta_caps() |
Maps topic capabilities |
bp-forums/replies/template.php: bbp_is_reply_published() |
Is the reply not spam or deleted? |
bp-forums/replies/template.php: bbp_has_replies() |
The main reply loop. WordPress makes this easy for us |
bp-forums/replies/functions.php: bbp_unspam_reply() |
Unspams a reply |
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.