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