Timeline for Wordpress plugin: admin-ajax.php not passing data to custom function
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 25, 2014 at 16:19 | comment | added | Iam Zesh | Thank you for this (sorry can't +1 your comment, not enough rep yet)! | |
Mar 25, 2014 at 11:12 | comment | added | helgatheviking |
Great! If you review the Codex you'll see that action is only passed inside the data object... by itself it is meaningless to the .ajax() function.
|
|
Mar 25, 2014 at 10:16 | comment | added | Iam Zesh |
This worked like a charm. Actually, I also removed action: 'ea_ajax_handler', in the ajax() which seemed not to be needed (still working without it).
|
|
Mar 25, 2014 at 10:15 | vote | accept | Iam Zesh | ||
Mar 24, 2014 at 18:14 | history | answered | helgatheviking | CC BY-SA 3.0 |