Answers for "get wp error message ajax"

PHP
0

show ajax error wordpress

//wp-includes/load.php
if ( defined( 'XMLRPC_REQUEST' ) || defined( 'REST_REQUEST' ) || ( defined( 'WP_INSTALLING' ) && WP_INSTALLING ) || wp_doing_ajax() ) {
        @ini_set( 'display_errors', 0 );
    }
Posted by: Guest on August-09-2021
0

wp ajax error handling

//if no errors are visible put this on the top of your file
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
Posted by: Guest on October-18-2021

Browse Popular Code Answers by Language