WordPress at Your Fingertips
action is not described

wp_sitemaps_init action-hook . WP 5.5.0

Fires when initializing the Sitemaps object.

Additional sitemaps should be registered on this hook.

Usage

add_action( 'wp_sitemaps_init', 'action_function_name_7241' );
function action_function_name_7241( $wp_sitemaps ){
	// action...
}
$wp_sitemaps(WP_Sitemaps)
Sitemaps object.

Changelog

Since 5.5.0 Introduced.

Where the hook is called

wp_sitemaps_get_server()
wp_sitemaps_init
wp-includes/sitemaps.php 39
do_action( 'wp_sitemaps_init', $wp_sitemaps );

Where in WP core the hook is used WordPress

Usage not found.