Basically I’ve used bloginfo(template_url)
in a WordPress theme, but when I run theme-checker, it recommends to replace bloginfo(template_url)
with get_template_directory_uri()
, however when I use get_template_directory_uri()
it doesn’t work. It works fine if I use it to replace get_bloginfo(template_url)
but that’s not what I want now. Is bloginfo(template_url)
being deprecated? If it is, what is it’s replacement?
Thanks