WordPress at Your Fingertips
function is not described

Automattic\WooCommerce\Blocks\StoreApi\Routes

ProductAttributesById::get_path() public WC 1.0

Get the path of this REST route.

{} It's a method of the class: ProductAttributesById{}

No Hooks.

Return

String.

Usage

$ProductAttributesById = new ProductAttributesById();
$ProductAttributesById->get_path();

Code of ProductAttributesById::get_path() WC 5.6.0

public function get_path() {
	return '/products/attributes/(?P<id>[\d]+)';
}