bbp_get_topic_statuses()
Return an associative array of available topic statuses
Description
Return
(array)
Source
File: bp-forums/topics/functions.php
function bbp_get_topic_statuses() {
return apply_filters( 'bbp_get_topic_statuses', array(
bbp_get_public_status_id() => __( 'Open', 'buddyboss' ),
bbp_get_closed_status_id() => __( 'Closed', 'buddyboss' ),
bbp_get_spam_status_id() => __( 'Spam', 'buddyboss' ),
bbp_get_trash_status_id() => __( 'Trash', 'buddyboss' ),
bbp_get_pending_status_id() => __( 'Pending', 'buddyboss' ),
) );
}
Changelog
| Version | Description |
|---|---|
| bbPress (r5059) | Introduced. |
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.