php
<?php
add_filter( 'aioseo_twitter_tags', 'aioseo_filter_twitter_title' );
function aioseo_filter_twitter_title( $twitterMeta ) {
   if ( is_singular() && '14' === get_the_ID() ) {
      $twitterMeta['twitter:title'] = "A different title";
   }
   return $twitterMeta;
}