bp_rest_messages_get_item_query_args

bp_rest_messages_get_item_query_args

Hook Type: filter

See hook in core

Displaying hooks found in version: buddypress.14.3.3

apply_filters('bp_rest_messages_get_item_query_args') is found 1 times:

  • /bp-messages/classes/class-bp-rest-messages-endpoint.php line 256
    252
    253
    254
    255
    256
    257
    258
    259
    260
    261
    262
    *
     * @param array           $args    Key value array of query var to query value.
     * @param WP_REST_Request $request The request sent to the API.
     */
    $args = apply_filters( 'bp_rest_messages_get_item_query_args', $args, $request );
     
    $thread = new BP_Messages_Thread(
        $request->get_param( 'id' ),
        'ASC', // not used.
        $args
    );