WOOF :: related_by_term( Arguments $args )
Retrieves a collection of WOOF_Post objects that are related to the current post by their taxonomy terms, configurable via an arguments parameter.
Parameters:
-
An arguments array or string compatible with WordPress’ get_posts function, but also supporting the following parameters:
- taxonomy – the taxonomies to compare. Can be either the name of a single taxonomy, or multiple taxonomies separated by a comma, or “” meaning all taxonomies. default ““
- exclude_terms – a list of term slugs to ignore in the comparison