wp_register_sitemap_provider


wp_register_sitemap_provider ( $name, $provider )

Parameters:
  • (string) name Unique name for the sitemap provider.
  • (WP_Sitemaps_Provider) provider The `Sitemaps_Provider` instance implementing the sitemap.
Returns:
  • (bool) Whether the sitemap was added.
Defined at:

Description

Registers a new sitemap provider.

Related Functions

wp_get_sitemap_providers, wp_register_style, wp_register_script, wp_deregister_style, register_sidebar

Top Google Results

User discussions

wpseek mobile