I want to write a plugin so that I can connect to it with an app bot, and store information inside the database.
Note that because I directly connect to php file inside this plugin, the public WordPress values like $wpdb are not known.
I can use only php code, and no ajax!
And how can i access to wp functions? such as get_option,...
thanks for your help.