bp_get_the_thread_message_sender_name

  • apply_filters( 'bp_get_the_thread_message_sender_name', bp_core_get_user_displayname( $thread_template->message->sender_id ) )

    Source Reference:

    • Component: BuddyPress :: bp-messages
      File: /bp-messages/bp-messages-template.php :: Trac Source Line: 837
      		return apply_filters( 'bp_get_the_thread_message_sender_link', bp_core_get_userlink( $thread_template->message->sender_id, false, true ) );
      	}
      
      function bp_the_thread_message_sender_name() {
      	echo bp_get_the_thread_message_sender_name();
      }
      	function bp_get_the_thread_message_sender_name() {
      		global $thread_template;
      
      		return apply_filters( 'bp_get_the_thread_message_sender_name', bp_core_get_user_displayname( $thread_template->message->sender_id ) );
      	}
      
      function bp_the_thread_delete_link() {
      	echo bp_get_the_thread_delete_link();
      }
      	function bp_get_the_thread_delete_link() {
      		global $bp;
      
      		return apply_filters( 'bp_get_message_thread_delete_link', wp_nonce_url( $bp->loggedin_user->domain . $bp->messages->slug . '/inbox/delete/' . bp_get_the_thread_id(), 'messages_delete_thread' ) );
      	}
      

Comments are closed.