bp_get_thread_recipients_count()
Get the number of recipients in the current thread.
Description Description
Return Return
(int)
Source Source
File: bp-messages/bp-messages-template.php
function bp_get_thread_recipients_count() { global $thread_template; /** * Filters the total number of recipients in a thread. * * @since 2.8.0 * * @param int $count Total recipients number. */ return (int) apply_filters( 'bp_get_thread_recipients_count', count( $thread_template->thread->recipients ) ); }
Changelog Changelog
Version | Description |
---|---|
2.2.0 | Introduced. |