wp-includes/sitemaps/class-wp-sitemaps-registry.php:68Returns a single registered sitemap provider.
$namestringWP_Sitemaps_Provider|null public function get_provider( $name ) { if ( ! is_string( $name ) || ! isset( $this->providers[ $name ] ) ) { return null; } return $this->providers[ $name ]; }Introduced in 5.5.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-includes/sitemaps/class-wp-sitemaps-registry.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.