You appear to be a bot. Output may be restricted
Description
Construct a new Jetpack_Sitemap_Builder object.
Usage
Jetpack_Sitemap_Builder::__construct();
Parameters
Returns
void
Source
File name: jetpack/modules/sitemaps/sitemap-builder.php
Lines:
1 to 28 of 28
public function __construct() { $this->librarian = new Jetpack_Sitemap_Librarian(); $this->finder = new Jetpack_Sitemap_Finder(); if ( defined( 'WP_DEBUG' ) && WP_DEBUG ) { $this->logger = new Jetpack_Sitemap_Logger(); } update_option( 'jetpack_sitemap_post_types', /** * The array of post types to be included in the sitemap. * * Add your custom post type name to the array to have posts of * that type included in the sitemap. The default array includes * 'page' and 'post'. * * The result of this filter is cached in an option, 'jetpack_sitemap_post_types', * so this filter only has to be applied once per generation. * * @since 4.8.0 */ apply_filters( 'jetpack_sitemap_post_types', array( 'post', 'page' ) ) ); }