Access our premium support and let us know your problems, we will help you solve them.

0
No products in the cart.

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: Retrieve WordPress root directory path? #9949
    blanknaty
    Participant

    There are 2 answers for this question Url & directory. Either way, the elegant way would be to define two constants for later use.

    define (ROOT_URL, get_site_url() );
    define (ROOT_DIR, get_theme_root() );
    
Viewing 1 post (of 1 total)