I’ve been working on creating a custom plugin that has a simple form input and button to use ajax to search custom tables, but i am running into a bad request issue when submitting the form.
I’ve already added in my enqueue scripts, localize\_scripts and nonce checks.
I have my functions all running in my main plugin php file.
My javascript is in a separate file but is enqueued onto the page.
The main part of the plugin is just outputting html to the page via shortcode.
I can share more my code snippets via private messages.
Any help would be appreciated. I don’t mind paying for your time.
[ad_2]