That's not going to happen. My point was you could check in the original file if the function is defined and if not then define it. On Nov 3, 2010 11:55 AM, "David Nelson" <commerce@xxxxxxxxxxxxxx> wrote: > Hi Peter, :-) > > On Wed, Nov 3, 2010 at 18:44, Peter Lind <peter.e.lind@xxxxxxxxx> wrote: >> You can check with function_exists to see if a function is already defined. >> If not, create it. > > The function is definitely already defined, I just need to replace it > without touching the file in which it's defined... > > David Nelson