debug (tag)
| _doing_it_wrong() | Mark something as "done incorrectly". For example, the function is called incorrectly, the parameter is specified incorrectly, etc. |
| get_num_queries() | Gets the number of queries that have been made to the WordPress database before this function is called. |
| wp_debug_backtrace_summary() | Gets a trace with function names — a list of all functions/methods that were called to reach the current place in the code (from where this function was called). |
| wp_debug_mode() | Sets error handling settings in PHP based on the constants specified in the wp-config.php file of WordPress. |
| wp_get_development_mode() | Gets the current development mode: |
| wp_get_environment_type() | Gets the current environment type: local, development, staging, production (default). |
| wp_is_development_mode() | Checks if the site is in the specified development mode: |