• Hello!

    So I know I can override functions in my child theme’s functions.php. However, I would like to override certain functions that are within the in/sections/gallery/definition.php file. Normally, I think this wouldn’t be an issue, but the functions in this file are within the MAKE_Sections_Gallery_Definition class.

    I haven’t figured out a way to override functions within this file without completely copy/pasting and overriding the entire class. I only want to update ~3 functions within the class, so it seems silly to override the whole thing?

    I’m not super proficient in php, but I’ve at least managed to figure out how to get my modifications working…I’d just like to streamline it so I’m not missing out on potential updates by overriding entire files worth of functions.

    Thanks!

  • The topic ‘Overriding Functions within Class’ is closed to new replies.