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_sitemapsWP_Sitemaps
Sitemaps object.

Source

do_action( 'wp_sitemaps_init', $wp_sitemaps );

Changelog

VersionDescription
5.5.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.