bbp_get_topic_types

bbp_get_topic_types

Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: bbpress.2.6.9

apply_filters('bbp_get_topic_types') is found 1 times:

  • /includes/topics/functions.php line 1895
    1891
    1892
    1893
    1894
    1895
    1896
    1897
    1898
    1899
    1900
    */
    function bbp_get_topic_types( $topic_id = 0 ) {
     
        // Filter & return
        return (array) apply_filters( 'bbp_get_topic_types', array(
            'unstick' => _x( 'Normal',       'Unstick a topic',         'bbpress' ),
            'stick'   => _x( 'Sticky',       'Make topic sticky',       'bbpress' ),
            'super'   => _x( 'Super Sticky', 'Make topic super sticky', 'bbpress' )
        ), $topic_id );
    }

See this hook used in plugins: