Using a child theme to override classes
-
Hi,
On the line 159 of the file/inc/fotography-functions.php
, theWP_Category_Checkboxes_Control
class is defined without checking if the class is already defined in the child theme or not. I’m trying to override this particular class in my child theme which will obviously break the whole thing.Would the developers be kind enough and add an
if (! class_exists(...) )
before defining this class (and possibily other classes) in the future versions?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Using a child theme to override classes’ is closed to new replies.