Server IP : 172.67.157.199 / Your IP : 18.189.180.60 [ Web Server : Apache System : Linux b70eb322-3aee-0c53-7c82-0db91281f2c6.secureserver.net 6.1.90-1.el9.elrepo.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 2 12:09:22 EDT 2024 x86_64 User : root ( 0) PHP Version : 8.0.30.2 Disable Function : NONE Domains : 0 Domains MySQL : ON | cURL : ON | WGET : ON | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/wp-content/plugins/wordpress-seo/inc/sitemaps/ |
Upload File : |
<?php /** * WPSEO plugin file. * * @package WPSEO\XML_Sitemaps */ /** * Cache Data interface. */ interface WPSEO_Sitemap_Cache_Data_Interface { /** * Status for normal, usable sitemap. * * @var string */ public const OK = 'ok'; /** * Status for unusable sitemap. * * @var string */ public const ERROR = 'error'; /** * Status for unusable sitemap because it cannot be identified. * * @var string */ public const UNKNOWN = 'unknown'; /** * Set the content of the sitemap. * * @param string $sitemap The XML content of the sitemap. * * @return void */ public function set_sitemap( $sitemap ); /** * Set the status of the sitemap. * * @param bool|string $usable True/False or 'ok'/'error' for status. * * @return void */ public function set_status( $usable ); /** * Builds the sitemap. * * @return string The XML content of the sitemap. */ public function get_sitemap(); /** * Get the status of this sitemap. * * @return string Status 'ok', 'error' or 'unknown'. */ public function get_status(); /** * Is the sitemap content usable ? * * @return bool True if the sitemap is usable, False if not. */ public function is_usable(); }