WordPress, admin menu, Ajax 400 bad request

You have given the wrong actions name. see more information here

Change this line

`add_action('wp_ajax_worktmp_delete_absence', 'delete_data');`

With this

`add_action('wp_ajax_delete_data', 'delete_data');`

Leave a Comment

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