Use post types as an array.
$args = array(
'numberposts' => '5',
'post_type' => array('cpt1', 'cpt2', 'cptn')
);
$recent_posts = wp_get_recent_posts( $args );
Use post types as an array.
$args = array(
'numberposts' => '5',
'post_type' => array('cpt1', 'cpt2', 'cptn')
);
$recent_posts = wp_get_recent_posts( $args );