Adding a function
-
I need to add some common code in several functions. The functions will be in myfunctions.php
I want to be able to code
if ( function_exists(‘myfunction_1’) )
myfunction_1();Where do I put myfunctions.php in order for this to work? Right now it acts like the function does not exist.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Adding a function’ is closed to new replies.