Automattic\WooCommerce\StoreApi\Routes\V1
ProductBrands::get_args
Get method arguments for this REST route.
Метод класса: ProductBrands{}
Хуков нет.
Возвращает
Массив
. An array of endpoints.
Использование
$ProductBrands = new ProductBrands(); $ProductBrands->get_args();
Код ProductBrands::get_args() ProductBrands::get args WC 9.9.5
public function get_args() { return [ [ 'methods' => \WP_REST_Server::READABLE, 'callback' => [ $this, 'get_response' ], 'permission_callback' => '__return_true', 'args' => $this->get_collection_params(), 'allow_batch' => [ 'v1' => true ], ], 'schema' => [ $this->schema, 'get_public_item_schema' ], ]; }