Contents
bbp_get_spam_status_id()
Return the spam post status ID
Description
Return
(string)
Source
File: bp-forums/core/functions.php
function bbp_get_spam_status_id() { return bbpress()->spam_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-forums/classes/class-bp-rest-topics-endpoint.php: BP_REST_Topics_Endpoint::create_item() |
Create 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/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/replies.php: BBP_Replies_Admin::filter_dropdown() |
Add forum dropdown to topic and reply list table filters |
bp-forums/admin/metaboxes.php: bbp_dashboard_widget_right_now() |
Forums Dashboard Right Now Widget |
bp-forums/admin/topics.php: BBP_Topics_Admin::row_actions() |
Topic Row actions |
bp-forums/admin/topics.php: BBP_Topics_Admin::filter_dropdown() |
Add forum dropdown to topic and reply list table filters |
bp-forums/topics/template.php: bbp_topic_notices() |
Displays topic notices |
bp-forums/topics/template.php: bbp_get_topic_admin_links() |
Return admin links for topic. |
bp-forums/topics/template.php: bbp_is_topic_spam() |
Is the topic marked as spam? |
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_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_get_topic_statuses() |
Return an associative array of available topic statuses |
bp-forums/topics/functions.php: bbp_new_topic_handler() |
Handles the front end topic submission |
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/forums/functions.php: bbp_update_forum_topic_count_hidden() |
Adjust the total hidden topic count of a forum (hidden includes trashed and spammed topics) |
bp-forums/forums/functions.php: bbp_new_forum_handler() |
Handles the front end forum submission |
bp-forums/classes/class-bbpress.php: bbPress::register_post_statuses() |
Register the post statuses used by Forums |
bp-forums/common/functions.php: bbp_get_statistics() |
Get the forum statistics |
bp-forums/extend/akismet.php: BBP_Akismet::check_post() |
Converts topic/reply data into Akismet comment checking format |
bp-forums/extend/akismet.php: BBP_Akismet::submit_post() |
Submit a post for spamming or hamming |
bp-forums/extend/akismet.php: BBP_Akismet::update_post_meta() |
Update post meta after a spam check |
bp-forums/replies/template.php: bbp_get_reply_admin_links() |
Return admin links for reply |
bp-forums/replies/template.php: bbp_is_reply_spam() |
Is the reply marked as spam? |
bp-forums/replies/template.php: bbp_has_replies() |
The main reply loop. WordPress makes this easy for us |
bp-forums/replies/functions.php: bbp_spam_reply() |
Marks a reply as spam |
bp-forums/replies/functions.php: bbp_unspam_reply() |
Unspams a reply |
bp-forums/replies/functions.php: bbp_new_reply_handler() |
Handles the front end 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.