apply_filters( 'bp_has_message_threads', bool $value, BP_Messages_Box_Template $messages_template, array $r )

Filters if there are any message threads to display in inbox/sentbox/notices.

Description

Parameters

$value

(bool) Whether or not the message has threads.

$messages_template

(BP_Messages_Box_Template) Current message box template object.

$r

(array) Array of parsed arguments passed into function.

Source

File: bp-messages/bp-messages-template.php

Changelog

Changelog
Version Description
BuddyPress 1.1.0 Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.