messages_thread_mark_as_unread, $thread_id, $user_id, $num_rows

messages_thread_mark_as_unread, $thread_id, $user_id, $num_rows

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: buddypress.14.5.2

do_action('messages_thread_mark_as_unread, $thread_id, $user_id, $num_rows') is found 1 times:

  • /bp-messages/classes/class-bp-messages-thread.php line 971
    		 * @param int      $thread_id The message thread ID.
    		 * @param int      $user_id   The user the thread will be marked as unread.
    		 * @param bool|int $num_rows  Number of threads marked as unread or false on error.
    		 */
    		do_action( 'messages_thread_mark_as_unread', $thread_id, $user_id, $num_rows );
    
    		return $num_rows;
    	}
    
    	/**
    	 * Returns the total number of message threads for a user.