All in One SEO Pack Title Filter – aioseop_title

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

Buy Now

Changing the document title for a post or page in All in One SEO Pack is easy using our API hooks. You can use the filter aioseop_title to modify or completely replace the doc title.
add_action( 'aioseop_title', 'change_wordpress_seo_title' );

function change_wordpress_seo_title( $title ){
    $title = 'modified title';
    return $title;
}

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

/aioseop_class.php 
  1. $title = apply_filters( ‘aioseop_title’, $title );
  1. $title = apply_filters( ‘aioseop_title’, $this->get_main_title( $post ) ); // get the title
[i]
[i]
Skip to toolbar