Automattic\WooCommerce\StoreApi\Routes\V1

ProductTags::get_args()publicWC 1.0

Get method arguments for this REST route.

Метод класса: ProductTags{}

Хуков нет.

Возвращает

Массив. An array of endpoints.

Использование

$ProductTags = new ProductTags();
$ProductTags->get_args();

Код ProductTags::get_args() WC 8.7.0

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' ],
	];
}