PHP code example of mage2kishan / module-xml-sitemap

1. Go to this page and download the library: Download mage2kishan/module-xml-sitemap library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

mage2kishan / module-xml-sitemap example snippets

xml
<job name="panth_xml_sitemap_rebuild" instance="Panth\XmlSitemap\Cron\Rebuild" method="execute">
  <schedule>0 2 * * *</schedule>
</job>