How to override theme class function to child theme?

Question

Based on the information provided? You can’t, it’s not possible.

Child themes can only override code from parent themes if the parent theme explicitly provides a way for child themes to do so. They can do this by providing a hook, or by making functions ‘pluggable’, but class methods can’t be pluggable.

0
Sohil 4 weeks 2022-07-11T03:15:49-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse