Answers for "get_site_url wordpress"

PHP
3

wordpress get domain

// WORDPRESS GET SITE URL:
echo get_site_url(); // echo's http://www.yoursitename.com
Posted by: Guest on May-20-2020
-1

current url wordpress

global $wp;
echo home_url( $wp->request )
Posted by: Guest on February-08-2021

Browse Popular Code Answers by Language