WPDev.one
Core Function
View Source on Trac ↗

get_blog_permalink()

get_blog_permalink( mixed $blog_id, mixed $post_id )

Gets the permalink for a post on another blog.

Parameters 2 required

Name / Type Description
$blog_id
int

ID of the source blog.

Required
$post_id
int

ID of the desired post.

Required

Return Value

(string)
The post's permalink.

Function Information

Since Version
MU (3.0.0) 1.0
Source File
wp-includes/ms-functions.php
Advertisement