I want to create custom functions in php files but I don't want them to execute if user is connected using Mobile App.
Is there a way to check it in an "if" command?
Hi,
if (WS_SERVER) <-- this means you are accessing via the Mobile app or any web service client