jetpack_sitemap_use_xmlwriter, true
jetpack_sitemap_use_xmlwriter, true
Appears in: jetpack.16.0.1
Hook Type: filter
Displaying hooks found in version: jetpack.16.0.1apply_filters('jetpack_sitemap_use_xmlwriter, true') is found 1 times:
- /modules/sitemaps/sitemap-buffer-factory.php line 45
* @module sitemaps * * @param bool $use_xmlwriter Whether to use XMLWriter. Current default is true. */ $use_xmlwriter = apply_filters( 'jetpack_sitemap_use_xmlwriter', true ); // First try XMLWriter if available if ( $use_xmlwriter && class_exists( 'XMLWriter' ) ) { $class_name = 'Jetpack_Sitemap_Buffer_' . ucfirst( $type ) . '_XMLWriter'; if ( class_exists( $class_name ) ) { return new $class_name( $item_limit, $byte_limit, $time );