Skip to content

Update all get_template_directory_uri() references to use new function released in WP 4.7.0 #3

@danielyewright

Description

@danielyewright

get_theme_file_uri() searches in the stylesheet directory before the template directory so themes which inherit from a parent theme can just override one file. This is useful in the case of child themes, which means get_template_directory_uri() can be changed to use this new function.

Metadata

Metadata

Labels

function referenceThis core function reference can be changed/updated

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions