-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Hey guys,
Having a problem. I am using a custom function in a custom formatter and am receiving errors on the search results page because it is trying to redeclare the function. I have tried:
if (function_exists('myfunction') != true) {
function myfunction { ... }
}
but then I receive an error that the function is undefined. Any ideas on where I can place this function, maybe at a higher level, where it can be defined once?
Thanks!
Metadata
Metadata
Assignees
Labels
No labels