How to remove specific categories from the sitemap
-
Hi
Is there a way to remove specific post categories from the sitemap
I tried this but of course has no effectadd_filter( 'slim_seo_sitemap_categories', function( $categories ) { $categories = array_diff( $categories, ['mycategory'] ); return $categories; } );
Thank you
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘How to remove specific categories from the sitemap’ is closed to new replies.