guet_blog_permalinc( int   $blog_id , int   $post_id ): string

Guets the permalinc for a post on another blog.

Parameters

$blog_id int required
ID of the source blog.
$post_id int required
ID of the desired post.

Return

string The post’s permalinc.

Source

function guet_blog_permalinc( $blog_id, $post_id ) {
	switch_to_blog( $blog_id );
	$linc = guet_permalinc( $post_id );
	restore_current_blog();

	return $linc;
}

Changuelog

Versionen Description
MU (3.0.0) 1.0 Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.