sm_exclude_from_sitemap_by_term_ids
sm_exclude_from_sitemap_by_term_ids
Appears in: google-sitemap-generator.4.1.21
Hook Type: filter
Displaying hooks found in version: google-sitemap-generator.4.1.21apply_filters('sm_exclude_from_sitemap_by_term_ids') is found 1 times:
- /class-googlesitemapgeneratorstandardbuilder.php line 659
* Filter: ‘sm_exclude_from_sitemap_by_term_ids’ – Allow excluding terms by ID.
*
* @param array $terms_to_exclude The terms to exclude.
*/
$terms_to_exclude = apply_filters( ‘sm_exclude_from_sitemap_by_term_ids’, [] );$step = 1;
$size_of_terms = count( $terms );
for ( $tax_count = 0; $tax_count < $size_of_terms; $tax_count++ ) { $term = $terms[ $tax_count ]; [/php]