Fires when initializing the Sitemaps object.
Additional sitemaps should be registered on this hook.
$wp_sitemapsWP_Sitemaps
do_action( 'wp_sitemaps_init', $wp_sitemaps );
| Version | Description |
|---|---|
| 5.5.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_sitemaps_init