php
<?php
add_filter( 'aioseo_description', 'aioseo_filter_description' );
function aioseo_filter_description( $description ) {
   if ( strlen($description) > 160 ) {
      $description = substr($description, 0, 159);
   }
   return $description;
}