Check if function used

3 posts Page 1 of 1
Contributors
User avatar
MrAlicard
VIP - Donator
VIP - Donator
Posts: 54
Joined: Thu Aug 05, 2010 4:08 pm

Check if function used
MrAlicard
Hello
How can I check if function is used in another php file?
I have a template php file and there I want check if the footer_text() function is used.
I tried the function_exists, but this doesn't work.

How can I do this?
User avatar
CodenStuff
Site Admin
Site Admin
Posts: 4389
Joined: Tue Aug 04, 2009 1:47 am

Re: Check if function used
CodenStuff
I'm not sure what you mean by checking if a function has been used? :duh;
Welcome to CodenStuff.com Learn Code, Love Code. Thank you for being a member of the community.
User avatar
benji_19994
VIP - Donator
VIP - Donator
Posts: 156
Joined: Mon Apr 16, 2012 3:13 pm

Re: Check if function used
benji_19994
Look over your code and see if you've used the function ;) or use a simple include page with all your functions in it.
3 posts Page 1 of 1
Return to “Help & Support”