FAQ - Hook: php_sitemap

FAQ - Hook: php_sitemap

1354


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';