PluginProbe
Yoast SEO – Advanced SEO with real-time guidance and built-in AI / trunk
Yoast SEO – Advanced SEO with real-time guidance and built-in AI vtrunk
28.5 28.4 28.3 28.2 28.1 28.0 27.9 27.8 27.7 27.6 27.5 trunk 18.0 18.1 18.2 18.3 18.4 18.4.1 18.5 18.5.1 18.6 18.7 18.8 18.9 19.0 All 129 releases
wordpress-seo / inc / sitemaps / interface-sitemap-provider.php

interface-sitemap-provider.php in Yoast SEO – Advanced SEO with real-time guidance and built-in AI trunk, at inc/sitemaps/interface-sitemap-provider.php

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