sfw_get_the_department_list

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

Description

Returns an HTML string of taxonomy 'sfw-department' terms associated with a post and given taxonomy. Terms are linked to their respective term listing pages.

Since: 1.0.0

Code

<?php function sfw_get_the_department_list( $before = '', $sep = '', $after = '', $post_id = false ){ 
	 … 
 } ?>

Parameter

$before
(string)

Default: ''

$sep
(string) - a Separator

Default: ''

$after
(string)

Default: ''

$post_id
(int) - a Post ID

Default: false

Return

(false) | string

File

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