Admin ajax request return 0 with die()

Add this as well: add_action('wp_ajax_nopriv_my_action', 'my_action_callback');. Notice the nopriv.

It will solve your problem!

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)