bp_get_the_thread_recipients ()
获取一个线程收件人列表或一个“x收件人”字符串。
描述
在BuddyPress 2.2.0中,该功能的这一部分被移到了members/single/messages/single.php模板中。BuddyPress不再使用此功能。
返回
(字符串)
源
文件:bp-messages / bp-messages-template.php
函数bp_get_the_thread_receivers () {if (5 <= bp_get_thread_recipients_count()) {$ receivers = sprintf(__('%s recipient ', 'buddyboss'), number_format_i18n(bp_get_thread_recipients_count()));} else {$ recipients_list();} return apply_filters(' bp_get_the_thread_receivers ', $ receivers);}