bp_get_message_thread_view_link

  • apply_filters( 'bp_get_message_thread_view_link', trailingslashit( $bp->loggedin_user->domain . $bp->messages->slug . '/view/' . $messages_template->thread->thread_id ) )

    Source Reference:

    • Component: BuddyPress :: bp-messages
      File: /bp-messages/bp-messages-template.php :: Trac Source Line: 249
      		global $messages_template;
      		return apply_filters( 'bp_message_thread_to', BP_Messages_Thread::get_recipient_links($messages_template->thread->recipients) );
      	}
      
      function bp_message_thread_view_link() {
      	echo bp_get_message_thread_view_link();
      }
      	function bp_get_message_thread_view_link() {
      		global $messages_template, $bp;
      		return apply_filters( 'bp_get_message_thread_view_link', trailingslashit( $bp->loggedin_user->domain . $bp->messages->slug . '/view/' . $messages_template->thread->thread_id ) );
      	}
      
      function bp_message_thread_delete_link() {
      	echo bp_get_message_thread_delete_link();
      }
      	function bp_get_message_thread_delete_link() {
      		global $messages_template, $bp;
      		return apply_filters( 'bp_get_message_thread_delete_link', wp_nonce_url( $bp->loggedin_user->domain . $bp->messages->slug . '/' . $bp->current_action . '/delete/' . $messages_template->thread->thread_id, 'messages_delete_thread' ) );
      	}
      

Comments are closed.