sfw_get_department

The code documented on this page is only available in the pro version.

Description

Retrieve a Departments Resource

Since: 1.0.0

Code

<?php function sfw_get_department( $spreadshirt_id, $flush_cache = false, $transmit_errors = false ){ 
	 … 
 } ?>

Parameter

$spreadshirt_id
The Department oder productTypeCategort Id

Return

(Object|false)

File

pro/core/components/departments/functions-departments.php