Switch language

wpseek.com
A WordPress-centric search engine for devs and theme authors




get_blogaddress_by_id [ WordPress Function ]

get_blogaddress_by_id ( $blog_id )
Parameters:
  • (int) $blog_id Blog ID
Returns:
  • (string)
Defined at:



Get a full blog URL, given a blog id.

Source


<?php
function get_blogaddress_by_id$blog_id ) {
    
$bloginfo get_blog_details( (int) $blog_idfalse ); // only get bare details!
    
return esc_url'http://' $bloginfo->domain $bloginfo->path );
}
?>

Examples [ wp-snippets.com ]

Google Arama Sonuçlarý

Dahasý ...

Kullanýcý Tartýþmalarý [ wordpress.org ]

- Bulunamadý -

Yeni bir konu yaz ...

0 User Note(s)

Henüz yok. Ýlk sen ol!

Yeni Ekle ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics