bbp_is_topic_closed

bbp_is_topic_closed

Hook Type: filter

See hook in core

Displaying hooks found in version: bbpress.2.6.9

apply_filters('bbp_is_topic_closed') is found 1 times:

  • /includes/topics/template.php line 1077
    	$status       = bbp_get_closed_status_id();
    	$topic_status = ( bbp_get_topic_status( $topic_id ) === $status );
    
    	// Filter & return
    	return (bool) apply_filters( 'bbp_is_topic_closed', $topic_status, $topic_id );
    }
    
    /**
     * Is the topic open to new replies?
     *
     * @since 2.0.0 bbPress (r2727)