do_action( 'wp_sitemaps_init', WP_Sitemaps $wp_sitemaps )

Fires when initializing the Sitemaps object.


Description

Additional sitemaps should be registered on this hook.


Top ↑

Parameters

$wp_sitemaps WP_Sitemaps
Sitemaps object.

Top ↑

Source

File: wp-includes/sitemaps.php. View all references

do_action( 'wp_sitemaps_init', $wp_sitemaps );


Top ↑

Changelog

Changelog
Version Description
5.5.0 Introduced.

Top ↑

User Contributed Notes

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