bp_get_total_mention_count_for_user

  • apply_filters( 'bp_get_total_mention_count_for_user', bp_get_user_meta( $user_id, 'bp_new_mention_count', true ) )

    Source Reference:

    • Component: BuddyPress :: bp-activity
      File: /bp-activity/bp-activity-template.php :: Trac Source Line: 2274
      	 *
      	 * @uses bp_get_user_meta()
      	 * @uses apply_filters() To call the 'bp_get_total_mention_count_for_user' hook
      	 *
      	 * @return int The total mention count for a specified user
      	 */
      	function bp_get_total_mention_count_for_user( $user_id = 0 ) {
      		global $bp;
      
      		return apply_filters( 'bp_get_total_mention_count_for_user', bp_get_user_meta( $user_id, 'bp_new_mention_count', true ) );
      	}
      
      /**
       * Echoes the public message link for displayed user
       *
       * @since 1.2.0
       *
       * @uses bp_get_send_public_message_link()
       */
      function bp_send_public_message_link() {
      

Comments are closed.