| Server IP : 68.178.247.200 / Your IP : 216.73.217.131 Web Server : Apache System : Linux p3plzcpnl489463.prod.phx3.secureserver.net 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64 User : x9dppmxs4rgd ( 8559391) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/x9dppmxs4rgd/public_html/wp-content/plugins/simple-sitemap/shared/ |
Upload File : |
<?php
namespace WPGO_Plugins\Simple_Sitemap;
/**
* Hooks class.
*
*/
class Hooks {
/**
* Allows you to filter the plugin options defaults array.
*
* @param Array $defaults Plugin options defaults.
* @return Array Plugin defaults.
*/
public static function simple_sitemap_defaults( $defaults ) {
return apply_filters( 'simple_sitemap_defaults', $defaults );
}
/**
* Allows you to filter the post title text.
*
* @param String $title Sitemap title.
* @param String $id Sitemap ID.
* @return Array Sitemap title text.
*/
public static function simple_sitemap_title_text( $title, $id ) {
return apply_filters( 'simple_sitemap_title_text', $title, $id );
}
/**
* Allows you to filter the post title text.
*
* @param String $title_link Sitemap title link.
* @param String $id Sitemap ID.
* @return Array Sitemap title link.
*/
public static function simple_sitemap_title_link_text( $title_link, $id ) {
return apply_filters( 'simple_sitemap_title_link_text', $title_link, $id );
}
}