AJAX returns response 0

Your action hook should be

add_action( 'wp_ajax_cc_author_change_postauthor', 'cc_author_change_postauthor_callback' );

I think because of your wrong hook, your callback function is never called.

You might have got this wrong aswell. In your JS code please change your action from

cc-author-change-postauthor

to

cc_author_change_postauthor

Leave a Comment

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