Updated: 06 October 2023
Access values in nested dictionaris
Debug.Print my_dict("key")("next_level_key")("and_next_level_key")
Jersey & Guernsey, United Kingdom
Updated: 06 October 2023
Access values in nested dictionaris
Debug.Print my_dict("key")("next_level_key")("and_next_level_key")
Updated: 24 June 2023
To turn on debugging add the following to wp-config.php
// Turn debugging on
define('WP_DEBUG', true);
// Tell WordPress to log everything to /wp-content/debug.log
define('WP_DEBUG_LOG', true);
// Display error messages
define('WP_DEBUG_DISPLAY', true);
Write to /wp-content/debug.log
error_log('logging message here...');