Leaderboards
Leaderboards controller.
Description Description
Source Source
File: packages/woocommerce-admin/src/API/Leaderboards.php
Methods Methods
- get_allowed_items — Returns a list of allowed leaderboards.
- get_categories_leaderboard — Get the data for the categories leaderboard.
- get_collection_params — Get the query params for collections.
- get_coupons_leaderboard — Get the data for the coupons leaderboard.
- get_customers_leaderboard — Get the data for the customers leaderboard.
- get_item_schema — Get the schema, conforming to JSON Schema.
- get_items — Return all leaderboards.
- get_leaderboards — Get an array of all leaderboards.
- get_products_leaderboard — Get the data for the products leaderboard.
- get_public_allowed_item_schema — Get schema for the list of allowed leaderboards.
- prepare_item_for_response — Prepare the data object for response.
- register_routes — Register routes.