Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_action('wp_ajax_MyAjaxFunction', 'jwl_action_callback');
- function jwl_action_callback() {
- $whatever = $_POST['serial'];
- var_dump($whatever);
- print 'hello';
- die(); // this is required to return a proper result
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement