woocommerce_rest_prepare_leaderboard

woocommerce_rest_prepare_leaderboard

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.3.3

apply_filters('woocommerce_rest_prepare_leaderboard') is found 1 times:

  • /src/Admin/API/Leaderboards.php line 482
    		 * @param WP_REST_Response $response The response object.
    		 * @param array            $item     The original item.
    		 * @param WP_REST_Request  $request  Request used to generate the response.
    		 */
    		return apply_filters( 'woocommerce_rest_prepare_leaderboard', $response, $item, $request );
    	}
    
    	/**
    	 * Get the query params for collections.
    	 *
    	 * @return array