update theme
This commit is contained in:
15
wp/wp-content/themes/medicalalert/helpers/Debug.php
Normal file
15
wp/wp-content/themes/medicalalert/helpers/Debug.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace Helpers;
|
||||
|
||||
class Debug
|
||||
{
|
||||
public static function dd()
|
||||
{
|
||||
return function ($template, $context, $args, $source) {
|
||||
$args = $context->get($args);
|
||||
|
||||
return "<pre>".print_r($args, true)."</pre>";
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user