bbp_get_topic_statuses

bbp_get_topic_statuses

Hook Type: filter

See hook in core

Displaying hooks found in version: bbpress.2.6.9

apply_filters('bbp_get_topic_statuses') is found 1 times:

  • /includes/topics/functions.php line 1874
     */
    function bbp_get_topic_statuses( $topic_id = 0 ) {
    
    	// Filter & return
    	return (array) apply_filters( 'bbp_get_topic_statuses', array(
    		bbp_get_public_status_id()  => _x( 'Open',    'Open the topic',      'bbpress' ),
    		bbp_get_closed_status_id()  => _x( 'Closed',  'Close the topic',     'bbpress' ),
    		bbp_get_spam_status_id()    => _x( 'Spam',    'Spam the topic',      'bbpress' ),
    		bbp_get_trash_status_id()   => _x( 'Trash',   'Trash the topic',     'bbpress' ),
    		bbp_get_pending_status_id() => _x( 'Pending', 'Unapprove the topic', 'bbpress' )
    	), $topic_id );