I am new in WordPress theme development and I've got a problem! what is the difference between get_theme_file_path() and get_theme_file_uri()? both of them return the same thing!

1 Answer 1


The function get_theme_file_uri returns http url like


The function get_theme_file_path returns file system url to file as


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.