aiosp_sitemap_addl_pages

Need help with this?
Purchase All in One SEO Pack Pro to get dedicated support from us.

Buy Now

Use this filter hook to add additional pages to your All in One SEO Pack xml sitemap.
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;
}

For instructions on how to use this code, please refer to our FAQ here.

  • Was this helpful ?
  • YesNo
[i]
[i]
Skip to toolbar