bbp_get_reply_statuses

bbp_get_reply_statuses

Hook Type: filter

See hook in core

Displaying hooks found in version: bbpress.2.6.9

apply_filters('bbp_get_reply_statuses') is found 1 times:

  • /includes/replies/functions.php line 1654
    1650
    1651
    1652
    1653
    1654
    1655
    1656
    1657
    1658
    1659
    1660
    */
    function bbp_get_reply_statuses( $reply_id = 0 ) {
     
        // Filter & return
        return (array) apply_filters( 'bbp_get_reply_statuses', array(
            bbp_get_public_status_id()  => _x( 'Publish', 'Publish the reply',     'bbpress' ),
            bbp_get_spam_status_id()    => _x( 'Spam',    'Spam the reply',        'bbpress' ),
            bbp_get_trash_status_id()   => _x( 'Trash',   'Trash the reply',       'bbpress' ),
            bbp_get_pending_status_id() => _x( 'Pending', 'Mark reply as pending', 'bbpress' )
        ), $reply_id );
    }