Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
add_action('wp_ajax_insereDados', 'insereDados');
add_action('wp_ajax_nopriv_insereDados', 'insereDados' ); // aparentemente não é obrigatorio utilizar este action
function insereDados(){
echo $_POST['nome'];
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.