Query custom post type by category slug

I’ve got an answer that worked perfeclty for me in another forum, so I’ll post here if sometime anyone gets a similar problem

$argsPost = array(
    'post_type'=>'album', 
    'orderby'=>'date',
    'order'   => 'DESC',
    'posts_per_page'=>'4',
    'tax_query' => array(
        array(
            'taxonomy' => 'albuns_categories',
            'field' => 'slug', 
            'terms' => array( 'ANYTERM' ),
            'operator' => 'IN'
        )
    )
);

=D

tech