bp_has_message_threads

  • apply_filters( 'bp_has_message_threads', $messages_template->has_threads(), $messages_template )

    Source Reference:

    • Component: BuddyPress :: bp-messages
      File: /bp-messages/bp-messages-template.php :: Trac Source Line: 187
      		if ( 'sentbox' == $bp->current_action )
      			$box = 'sentbox';
      
      		if ( 'notices' == $bp->current_action )
      			$box = 'notices';
      
      		$messages_template = new BP_Messages_Box_Template( $user_id, $box, $per_page, $max, $type );
      	}
      
      	return apply_filters( 'bp_has_message_threads', $messages_template->has_threads(), $messages_template );
      }
      
      function bp_message_threads() {
      	global $messages_template;
      	return $messages_template->message_threads();
      }
      
      function bp_message_thread() {
      	global $messages_template;
      	return $messages_template->the_message_thread();
      

Comments are closed.