I have a php file located at:
.../wp-content/themes/kallyas-child/pagebuilder/elements/TH_TeamBox/TH_TeamBox.php
I’m trying to use the above file to overwrite the parent’s TH_TeamBox.php file which is found here:
.../wp-content/themes/kallyas/pagebuilder/elements/TH_TeamBox/TH_TeamBox.php
My child theme is active and I have created the file path in my child theme to mimic my parent theme. I was under the impression that if I did that I would be able to edit PHP files to my liking in my child theme without losing my changes when I update my parent theme.
I’ve been developing for a while, but as you can see I’m new(er) to WordPress. Any insight on why my child’s .php file isn’t overwriting it’s parent’s .php file would be greatly appreciated. I’d be glad to give anymore info that you might need to assist me, thanks! : )