All in One SEO Pack Title Filter – aioseop_title

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_filter( '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).

  1. $title = apply_filters( ‘aioseop_title’, $title );
  1. $title = apply_filters( ‘aioseop_title’, $this->get_main_title( $post ) ); // get the title