I want to use wordpress content in external mobile app. I need an URL address to get content from function located in functions.php for example:
function test()
{
return 'it works';
}
What I need is an url address (http://example.com/something) which will return a value from function test. I hope that I wrote it clearly. Sorry for my language mistakes.