I have the following function in my plugin
function IsIdInProject($id=null){
if ($id=="test")
{
return true;
}
return false;
}
I need to call this function from my page using jquery, but I do not understand what to put in my url parameter.
This code is located in settings.php page of my plugin (plugins/myplugin/settings.php)
I cannot just call url: mywebsite.com/plugins/myplugins/settings.php
, right?