WooCommerce Code Reference

ShippingPartnerSuggestions
in package

Class ShippingPartnerSuggestions

Table of Contents

get_specs_from_datasource()  : mixed
Get specs or fetch remotely if they don't exist.
get_suggestions()  : array<string|int, mixed>
Go through the specs and run them.

Methods

get_suggestions()

Go through the specs and run them.

public static get_suggestions([array<string|int, mixed>|null $specs = null ]) : array<string|int, mixed>
Parameters
$specs : array<string|int, mixed>|null = null

shipping partner suggestion spec array.

Return values
array<string|int, mixed>