bp_get_message_css_class

  • apply_filters( 'bp_get_message_css_class', trim( $class ) )

    Source Reference:

    • Component: BuddyPress :: bp-messages
      File: /bp-messages/bp-messages-template.php :: Trac Source Line: 272
      	function bp_get_message_css_class() {
      		global $messages_template;
      
      		$class = false;
      
      		if ( $messages_template->current_thread % 2 == 1 )
      			$class .= 'alt';
      
      		return apply_filters( 'bp_get_message_css_class', trim( $class ) );
      	}
      
      function bp_message_thread_has_unread() {
      	global $messages_template;
      
      	if ( $messages_template->thread->unread_count )
      		return true;
      
      	return false;
      }
      

Comments are closed.