Completed
Push — master ( 1149e8...e600a3 )
by Fulvio
08:43
created

Functions.php ➔ wp_php_console()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 0
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php
2
/**
3
 * WP PHP Console
4
 *
5
 * This source file is subject to the GNU General Public License v3.0
6
 * that is bundled with this package in the file license.txt.
7
 * It is also available through the world-wide-web at this URL:
8
 * http://www.gnu.org/licenses/gpl-3.0.html
9
 *
10
 * @author    Fulvio Notarstefano <[email protected]>
11
 * @copyright Copyright (c) 2014-2019 Fulvio Notarstefano
12
 * @license   http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
13
 */
14
15
defined( 'ABSPATH' ) or exit;
16
17
18
/**
19
 * Gets the WP PHP Console instance.
20
 *
21
 * @since 1.5.4
22
 *
23
 * @return WP_PHP_Console\Plugin
24
 */
25
function wp_php_console() {
26
27
	return new \WP_PHP_Console\Plugin();
28
}
29