genesis seo meta action hook for custom post type

add_action( ‘genesis_meta’, ‘custom_meta_seo_listing’,11 );
function custom_meta_seo_listing() {
global $post;
if(!is_singular() ||
genesis_get_custom_field( ‘_genesis_description’ ) ||
genesis_get_custom_field( ‘_aioseop_description’ ) ||
genesis_get_custom_field( ‘_headspace_description’ ) ||
genesis_get_custom_field( ‘thesis_description’ ) ||
genesis_get_custom_field( ‘description’ )
) return;
if(is_single() && get_post_type( get_the_ID()) == “idxc_featlist”){
$address = get_post_meta(get_the_ID(), “_idxc_mb_featuredlistings_address”, $single = true);
echo ‘<meta name=”description” content=”For Sale:’.$address.'” />’;
} else{
if(genesis_get_custom_field( ‘_genesis_description’ ) == “”){
echo ‘<meta name=”description” content=”bahamas real estate” />’;
}
}
}