I wrote a plugin, for ajax request I wrote in new php file, Now that file is not working with $wpdb and wp functions

Question

I wrote a plugin, for ajax request I wrote in new php file, Now that file is not working with $wpdb and wp functions, Is there any why to include any file in that to access $wpdb or can I define in that file that its also part of plugin.

0
Mr_Ussi 4 months 0 Answers 8 views 0

Leave an answer