WordPress at a glance
function is not described

get_blog_permalink() WP 1.0

Get the permalink for a post on another blog.

  • Since MU (3.0.0) 1.0

No Hooks.

Return

String. The post's permalink

Usage

get_blog_permalink( $blog_id, $post_id );
$blog_id(int) (required)
ID of the source blog.
$post_id(int) (required)
ID of the desired post.

Code of get blog permalink: wp-includes/ms-functions.php VER 5.1.1

<?php
function get_blog_permalink( $blog_id, $post_id ) {
	switch_to_blog( $blog_id );
	$link = get_permalink( $post_id );
	restore_current_blog();

	return $link;
}