get_sitemap_url


get_sitemap_url ( $name, $subtype_name = '', $page = 1 )

Parameters:
  • (string) name The sitemap name.
  • (string) subtype_name The sitemap subtype name. Default empty string.
  • (int) page The page of the sitemap. Default 1.
Returns:
  • (string|bool) The sitemap URL or false if the sitemap doesn't exist.
Defined at:

Description

Retrieves the full URL for a sitemap.

Related Functions

get_site_url, get_site_icon_url, get_temp_dir, get_post_embed_url, network_site_url

Top Google Results

User discussions

wpseek mobile