aiosp_sitemap_filename

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

Buy Now

The All In One SEO Pack aiosp sitemap filename hook.

Description

apply_filters( {$this->prefix}filename, $filename );

Parameters (1)

0.$filename (string)
change the filename of the XML sitemap that All in One SEO Pack outputs.

Usage

You can use this filter hook as in the following example:
add_filter( 'aiosp_sitemap_filename' , 'change_sitemap_filename' ); 

function change_sitemap_filename ( $filename ) {
//Use this variable to set the preferred sitemap filename
$filename = 'preferred-filename';
return $filename;
}

Defined (1)

The filter is defined in the following location(s).

/modules/aioseop_sitemap.php
[i]
[i]
Skip to toolbar