It seems like my WordPress child theme in some cases refuses to use child files and still uses parent’s files.
For example I want to override the themex.lesson that is located in the
child_theme/framework/classes/themex.lesson.php folder
Parent’s file is in the:
parent/framework/classes/themex.lesson.php folder
Changes that I make to the child_theme themex.lesson php are not reflected in live site. Other changes made to the child theme work perfectly fine.
What could be causing this behavior?
Referencing / Including Files in Your Child Theme
Source: https://codex.wordpress.org/Child_Themes