WPDev.one
Core Class

WP_Sitemaps_Provider

class WP_Sitemaps_Provider // Constructor: function Object() { [native code] }

Class WP_Sitemaps_Provider.

Methods 6 methods

Method / Return Description
get_url_list()
array[]

Gets a URL list for a sitemap.

Parameters: $page_num: mixed, $object_subtype: mixed
get_max_num_pages()
int

Gets the max number of pages available for the object type.

Parameters: $object_subtype: mixed
get_sitemap_type_data()
array[]

Gets data about each sitemap type.

get_sitemap_entries()
array[]

Lists sitemap pages exposed by this provider.

get_sitemap_url()
string

Gets the URL of a sitemap entry.

Parameters: $name: mixed, $page: mixed
get_object_subtypes()
array

Returns the list of supported object subtypes exposed by the provider.

Properties

Property / Type Description
$name
mixed
public
No description available.
$object_type
mixed
public
No description available.

Class Information

Since Version
5.5.0
Source File
wp-includes/sitemaps/class-wp-sitemaps-provider.php
Advertisement