WordPress mendapatkan domain
// WORDPRESS GET SITE URL:
echo get_site_url(); // echo's http://www.yoursitename.com
gtamborero
// WORDPRESS GET SITE URL:
echo get_site_url(); // echo's http://www.yoursitename.com
<?php echo get_site_url(); ?>
$url = site_url();
echo $url;
global $wp;
echo home_url( $wp->request )