/** * Static method to get message recipients by thread ID. * * @since 2.3.0 * * @param int $thread_id The thread ID. * * @return array */ public static function get_recipients_for_thread($thread_id = 0) { $thread = new self(false); return $thread->get_recipients($thread_id); }