Skip to content

Instantly share code, notes, and snippets.

View nathabonfim59's full-sized avatar

Nathanael Bonfim nathabonfim59

View GitHub Profile
@nathabonfim59
nathabonfim59 / dd.php
Last active April 12, 2024 12:41 — forked from james2doyle/dd.php
A implementation of "dump and die" (dd) for WordPress
<?php
if (!defined('ABSPATH')) {
exit; // Exit if accessed directly.
}
if (!function_exists('dd')) {
function dd($data)
{
ini_set("highlight.comment", "#969896; font-style: italic");