jetpack_news_sitemap_include_in_robotstxt, true
jetpack_news_sitemap_include_in_robotstxt, true
Appears in: jetpack.16.0.1
Hook Type: filter
Displaying hooks found in version: jetpack.16.0.1apply_filters('jetpack_news_sitemap_include_in_robotstxt, true') is found 1 times:
- /modules/sitemaps/abilities/class-sitemaps-abilities.php line 380
* already merged into the modern filter by the time it runs in production. */ protected static function is_news_sitemap_enabled(): bool { /** This filter is documented in modules/sitemaps/sitemaps.php */ return (bool) apply_filters( 'jetpack_news_sitemap_include_in_robotstxt', true ); } /** * Count published posts of a given post type. * * Wraps `wp_count_posts()` so tests can override without a real WP_Posts