get_recipients_ids
Retrieves all user ids which are participating in conversation
REQUIREMENTS
To be able to implement this guide, you need to learn how to insert PHP snippets to your website.
You can find guide here: WP Beginner
Compatibility
This function compatible with Better Messages 2.0.55 or higher
<?php
// Returns array of user ids (int), returns empty array if no participants or thread not exists
$user_ids = Better_Messages()->functions->get_recipients_ids( $thread_id );