aiosp_sitemap_addl_pages

Use this filter hook to add additional pages to your All in One SEO Pack xml sitemap.

NOTE:  This filter only works when Sitemap Indexes is enabled because it adds the additional pages to the sitemap addl-sitemap.xml.

Here’s an example of how to use it:

add_filter( 'aiosp_sitemap_addl_pages', 'sfwd_add_pages' );

function sfwd_add_pages( $pages ) {
if ( empty( $pages ) ) $pages = Array();
$pages[] = Array( "loc" => "http://www.google.com/", "lastmod" => "2014-04-01T00:00:00Z", "changefreq" => "daily", "priority" => "0.1" );
return $pages;
}