Change WordPress Default Email and Name

WordPress normally sends emails from wordpress@yourdomain.com. If you want you to change which email alias WordPress should send emails from, then you can put the following into into your functions.php or a plugin. I’ve also included the function to change the WordPress email sender name. Replace the email and name for your own site.

Debug WordPress

Copy and paste the following into your wp_config.php file, above the “happy Blogging commment” @ini_set( ‘log_errors’, ‘On’ ); @ini_set( ‘display_errors’, ‘Off’ ); define( ‘WP_DEBUG’, true ); define( ‘WP_DEBUG_LOG’, true ); define( ‘WP_DEBUG_DISPLAY’, false ); All errors or notices will now be saved into a debug file which you can find at /wp-content/debug.log