wpseo_sitemap_exclude_empty_terms_taxonomy, $hide_empty, $taxonomy_name
wpseo_sitemap_exclude_empty_terms_taxonomy, $hide_empty, $taxonomy_name
Appears in: wordpress-seo.28.1
Hook Type: filter
Displaying hooks found in version: wordpress-seo.28.1apply_filters('wpseo_sitemap_exclude_empty_terms_taxonomy, $hide_empty, $taxonomy_name') is found 1 times:
- /inc/sitemaps/class-taxonomy-sitemap-provider.php line 94
* * @param bool $exclude Defaults to the sitewide setting. * @param string $taxonomy_name The name of the taxonomy being processed. */ $hide_empty_tax = apply_filters( 'wpseo_sitemap_exclude_empty_terms_taxonomy', $hide_empty, $taxonomy_name ); $term_args = [ 'taxonomy' => $taxonomy_name, 'hide_empty' => $hide_empty_tax, 'fields' => 'ids', ];