-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsupport.php
More file actions
50 lines (43 loc) · 1.22 KB
/
support.php
File metadata and controls
50 lines (43 loc) · 1.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?php
/**
* The plugin bootstrap file
*
* This file is read by WordPress to generate the plugin information in the plugin
* admin area. This file also includes all of the dependencies used by the plugin,
* registers the activation and deactivation functions, and defines a function
* that starts the plugin.
*
* @link https://wpmanageninja.com/
* @since 1.0.0
* @package DD
*
* @wordpress-plugin
* Plugin Name: DD
* Plugin URI: https://wpmanageninja.com/
* Description: This is a short description of what the plugin does. It's displayed in the WordPress admin area.
* Version: 1.0.0
* Author: WPManageNinja
* Author URI: https://wpmanageninja.com/
* License: GPL-2.0+
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
* Text Domain: dd
* Domain Path: /languages
*/
require 'vendor/autoload.php';
use \Illuminate\Support\Debug\Dumper;
/**
* Dump the passed variables and end the script.
*
* @param mixed
*
* @return void
*/
function dd()
{
$args = func_get_args();
header('Content-Type: text/html; charset=UTF-8');
foreach ($args as $x) {
(new Dumper)->dump($x);
}
die(1);
}