sfw_get_the_departments
The code documented on this page is only available in the pro version.
Description
Retrieve the terms of the taxonomy 'sfw-department' that are attached to the post.
Since: 1.0.0
Code
<?php function sfw_get_the_departments( $post_or_post_id = false ){
…
} ?>
Parameter
- $post_id
- (int|WP_Post)