File: bp-forums/forums/functions.php |
Description |
|---|---|
| bbp_delete_forum_topics() |
Delete all topics (and their replies) for a specific forum ID |
| bbp_trash_forum_topics() |
Trash all topics inside a forum |
| bbp_forum_query_last_reply_id() |
Returns the forum’s last reply id |
| 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 |
| bbp_get_forum_thumbnail_image() |
Get the forum thumbnail’s image tag |
| bbp_get_hidden_forum_ids() |
Returns the hidden forum ids |
| bbp_get_private_forum_ids() |
Returns the private forum ids |
| bbp_exclude_forum_ids() |
Returns a meta_query that either includes or excludes hidden forum IDs from a query. |
| 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. |
| bbp_forum_query_topic_ids() |
Returns the forum’s topic ids |