php
<?php
add_filter( 'aioseo_sitemap_exclude_posts', 'aioseo_sitemap_filter_excluded_posts', 10, 2 );
function aioseo_sitemap_filter_excluded_posts( $ids, $type ) {
   if ( 'general' === $type ) {
      $ids[] = 614;
   }
   return $ids;
}