wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_sitemaps_init › WordPress Action Hooks

Since5.5.0
Deprecatedn/a
do_action( 'wp_sitemaps_init', $wp_sitemaps )
Parameters:
  • (WP_Sitemaps) $wp_sitemaps Sitemaps object.
    Required: Yes
Defined at:
Codex:

Fires when initializing the Sitemaps object.

Additional sitemaps should be registered on this hook.





Source

do_action( 'wp_sitemaps_init', $wp_sitemaps );