How will you display error messages during development in WordPress?

devquora
devquora

Posted On: Feb 22, 2018

 

To display error messages in WordPress. Open WordPress wp-cofig.php file and change WP_DEBUG constant value to true

In WordPress, WP_DEBUG is a PHP constant (a permanent global variable) that can be used to trigger the “debug” mode throughout the website.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Wordpress Interview Questions

    What is WordPress?

    WordPress is free open source content management system (CMS) written PHP language and licensed under GPL. It allows us..

    Wordpress Interview Questions

    What are minimum requirements to run WordPress?

    PHP 7 or greater MySQL 5.6 or greater OR MariaDB 10.0 or greater The mod_rewrite Apache module HTTPS support(Recommende..