bp_get_message_thread_delete_link

  • 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' ) )

    Source Reference:

    • Component: BuddyPress :: bp-messages
      File: /bp-messages/bp-messages-template.php :: Trac Source Line: 257
      		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' ) );
      	}
      
      function bp_message_css_class() {
      	echo bp_get_message_css_class();
      }
      
      	function bp_get_message_css_class() {
      		global $messages_template;
      
      		$class = false;
      
  • 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' ) )

    Source Reference:

    • Component: BuddyPress :: bp-messages
      File: /bp-messages/bp-messages-template.php :: Trac Source Line: 846
      		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' ) );
      	}
      
      function bp_the_thread_message_time_since() {
      	echo bp_get_the_thread_message_time_since();
      }
      	function bp_get_the_thread_message_time_since() {
      		global $thread_template;
      
      		return apply_filters( 'bp_get_the_thread_message_time_since', sprintf( __( 'Sent %s', 'buddypress' ), bp_core_time_since( strtotime( $thread_template->message->date_sent ) ) ) );
      	}
      

Comments are closed.