1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
<?php /** * WPSEO plugin file. * * @package WPSEO\XML_Sitemaps */
/** * Sitemap Provider interface. */ interface WPSEO_Sitemap_Provider {
/** * Check if provider supports given item type. * * @param string $type Type string to check for. * * @return boolean */ public function handles_type( $type );
/** * Get set of sitemaps index link data. * * @param int $max_entries Entries per sitemap. * * @return array */ public function get_index_links( $max_entries );
/** * Get set of sitemap link data. * * @param string $type Sitemap type. * @param int $max_entries Entries per sitemap. * @param int $current_page Current page of the sitemap. * * @return array */ public function get_sitemap_links( $type, $max_entries, $current_page ); }
|