-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
How do I make an ajax call? #17
Comments
Thanks @iamthom - let's try this: In the file Inside the Admin class add this public function:
And change the assets pubic function:
In the file Inside the Plugin class:
In the file
Hope this helps! |
Hi @joshcummingsdesign, thanks for the guide. Very deep sorry, I had no time yesterday to try it and play around with WP and your plugin. I'll try it soon. === |
@iamthom Any time! Thanks for the question. |
Hi, I found your plugin is quite helpful and fast in creating plugin.
I got an issue, how do I make an ajax call? I've created
plugin-name/includes/class-admin-ajax.php
and placed mywp_ajax_
hook there, but seems like the hook is not recognized yet.class-admin-ajax.php
javascript section
Can you point out where are my mistakes?
The text was updated successfully, but these errors were encountered: