Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require get_parent_theme_file_path( '/inc/template-tags.php' );
- add_filter('parent_theme_file_path', function($path, $file) {
- if ($file !== '/inc/template-tags.php') {
- return $path;
- }
- $path = get_stylesheet_directory() . '/' . $file;
- return $path;
- }, 10, 2);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement