Question : show ajax error wordpress
Answered by : yousef-qaoud
//wp-includes/load.php
if ( defined( 'XMLRPC_REQUEST' ) || defined( 'REST_REQUEST' ) || ( defined( 'WP_INSTALLING' ) && WP_INSTALLING ) || wp_doing_ajax() ) { @ini_set( 'display_errors', 0 ); }
Source : https://stackoverflow.com/questions/49489131/displaying-php-errors-from-admin-ajax-php-in-wordpress-4-9 | Last Update : Mon, 16 Aug 21