I have to make some changes to some functions in a plugin that don't have hooks and aren't pluggable.
My idea was to wrap the functions I modify in a
if ( ! function_exists()) and move my modifications into a separate plugin. Then whenever I need to update the plugin, I just re-add the
if ( ! function_exists()) wrapper.
Please tell me why this is a bad idea and what I should be doing instead.