Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
$.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
You can’t perform that action at this time.