I am trying to add custom code in my plugin that gets all email addresses from members with paid membership and send them a newsletter. I was able to get active members with this code:
if( !class_exists( 'MS_Model_Membership' ) )
$args = array(
'subscription_status' => 'active'
$members = MS_Model_Member::get_members( $args );
This returns some strange array with tons of information. However, what I need is emails from members that have paid membership only. Could you help me with that?