sfw_get_shop_resource_url
Description
Retrieve a proxied Spreadshirt Api Resource Url
Links directly to the Rest API, therefor the user has to be logged in to view the resource.
Since: 1.0.0
Code
<?php function sfw_get_shop_resource_url( $resource, $path = '', $append_default_params = false ){
…
} ?>
Parameter
- $resource
- (string) - the main name of the resource e.g. "articles", "productTypes"
- $path
- (string) - further path of the resource
Default: ''
- $append_default_params
- (bool) If locale, fullData and mediaType should be appended
Default: false