Created
November 24, 2017 05:46
-
-
Save huuyafwww/83c8e793ce480ea95ffcc2716d5d3fbb 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': 'text_ajax_test', | |
'text_test': text, | |
'secure': '<?php echo wp_create_nonce('text_test_ajax ') ?>' | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment