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 video sitemap filename hook.


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

Parameters (1)

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


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

function change_video_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).


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

  • Was this helpful ?
  • YesNo