Answer the question
In order to leave comments, you need to log in
How to override the function of the main WordPress theme (StoreFront theme)?
There is such a WooCommerce theme - StoreFront.
Some of its functions are located not in the main functions.php file, but in the inc/functions/extras.php file.
There is a function that is called directly in the template, it does not return anything, it just outputs information via echo.
How can I properly override this function?
If I insert it into the functions.php file at the root of the child theme, the site crashes with an error.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question