Is there a way to replace a function by another function in a child theme?
In other words, in a theme there is a function named "theme_function" and this function is called by several files inside the theme.
I would like to find, if exist, an action that replace all occurrences of "theme_function" with another function "child_function" inside the child theme.
Please note that "theme_function" that I want to replace do not have the following block:
if ( !function_exists('theme_function') ) :
because if it that case is easy to replace the theme_function with another function having the same name in functions.php