how to change a domain name on wordpress code example
Example: wordpress get domain
// WORDPRESS GET SITE URL:
echo get_site_url(); // echo's http://www.yoursitename.com
// WORDPRESS GET SITE URL:
echo get_site_url(); // echo's http://www.yoursitename.com