These functions are already accessible if you use the rewrite API. When your file is parsed WordPress has loaded already, so do not include core files a second time.
These functions are already accessible if you use the rewrite API. When your file is parsed WordPress has loaded already, so do not include core files a second time.