FAQ - Hook: php_sitemap

Hook: php_sitemap

4096


Use this hook to execute PHP code in the sitemap.php file.

For example:

if ($cat) { echo "Categories: ".$cat; }

if you like to include a file:

APP_PATH.'plugins/yourplugin/file_to_include.php';