get site url in wp

Support Forums Programming and Development WordPress get site url in wp

Tagged: 

This topic contains 1 reply, has 1 voice, and was last updated by  gnana sekaran 7 years, 5 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1124

    gnana sekaran
    Participant

    get site url in wp

    #1126

    gnana sekaran
    Participant

    $url = site_url();
    echo $url;

Viewing 2 posts - 1 through 2 (of 2 total)

You must Login/Register to reply to this topic.