setting function pointers, need syntax
I am in the process of updating my custom scripts for 3.6.x. Some pages generate this error:
print_standard_error(...)
is now redundant. Instead, use
standard_error(fetch_error(...))
My errors messages are hard-coded strings. They don't use the phrase system, so I don't think I need fetch_error(). I just need to map print_standard_error() to standard_error().
What is the code to point the old function to the new one so I don't have to change the references? I don't know the syntax.
|