admin-ajax.php 400 (Bad Request) what am I doing wrong?

You’re declaring the AJAX handler inside the shortcode handler. That’s not going to work: admin AJAX requests aren’t processed in the context of a page, so the shortcode won’t be run, so the handler won’t be set up.

You’ll need to move the function definition and add_actions out to the top level, not inside wpcode_elementor_shortcode.

Your script enqueues also look wrong too: they’re supposed to be called from a wp_enqueue_scripts hook handler, which will be called before you know whether they’re actually needed on a page – AFAIK there’s no good solution to only including scripts on the right pages. That said, you might get away with that here if the script is set to be included in the footer (which it’s not at first glance) and the dependencies just work out too.

deneme bonusu veren sitelerbahis siteleripulibet girişdeneme bonusutürkçe altyazılı pornocanlı bahis casinocanlı bahis casino siteleriOnwin Güncel Girişholiganbetholiganbet girişholiganbet güncel giriş