sfw_collect_department_remote_producttype_terms

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

Description

Collects all Producttypes that are connected with the Department on the remote API and returns their terms if they exist.

Since: 1.0.0

Code

<?php function sfw_collect_department_remote_producttype_terms( $department_id ){ 
	 … 
 } ?>

Parameter

(int) Departmemt or ProducttypeCategory Id

Return

(array) Array of Producttype Terms

File

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