$url_list =
$provider->
get_url_list( $paged,
$object_subtype );
// Force a 404 and bail early if no URLs are present.
if ( empty( $url_list ) ) { $wp_query->
set_404();
status_header( 404
);
return;
} $this->renderer->
render_sitemap( $url_list );
exit;
} /**
* Redirects a URL to the wp-sitemap.xml
*
* @since 5.5.0
*
* @param bool $bypass Pass-through of the pre_handle_404 filter value.
* @param WP_Query $query The WP_Query object.
* @return bool Bypass value.
*/