do_action( 'wp_sitemaps_init', WP_Sitemaps $wp_sitemaps )

Fires when initializing the Sitemaps object.


Description

Additional sitemaps should be registered on this hook.


Parameters

$wp_sitemaps

Sitemaps object.


Source

File: wp-includes/sitemaps.php

View on GitHub



Changelog

Changelog
Version Description
5.5.0 Introduced.