WooCommerce Code Reference

RouteInterface

RouteInterface.

Table of Contents

get_args()  : array<string|int, mixed>
Get arguments for this REST route.
get_path()  : string
Get the path of this REST route.

Methods

get_args()

Get arguments for this REST route.

public get_args() : array<string|int, mixed>
Return values
array<string|int, mixed>An array of endpoints.