Question

I have a child theme in wordpress and one of the plugins I am using is called jigoshop.

I made a copy of a few php classes from the plugin and placed them in my child theme folder. I want these clases to override the ones from the plugin folder.

How would I go about doing that?

Thanks!!

Was it helpful?

Solution

you'll have to change the code where those classes are used which means that if you changed the class names in your copies then you have to replace the original names where objects are created. If you haven't changed the names you have to change the - paths of include, require or whatever is used to include the class files - paths.

By the way - Merry Christmas! :)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top