Created
November 24, 2017 05:57
-
-
Save huuyafwww/f02cb1ef40404c8298f8b7f87ff5147d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$.ajax({ | |
dataType: "text", | |
url: admin_ajax_url, | |
data: { | |
'action': 'array_ajax_test', | |
'array_test[]': array, | |
'secure': '<?php echo wp_create_nonce('array_test_ajax') ?>' | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment