PluginProbe
Disk Usage Insights / trunk
Disk Usage Insights vtrunk
trunk 1.0 1.10 1.11 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9
disk-usage-insights / src / Frontend / Controller / IndexController.php

IndexController.php in Disk Usage Insights trunk, at src/Frontend/Controller/IndexController.php

18 lines 428 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 namespace Mgleis\DiskUsageInsights\Frontend\Controller;
3
4 use Mgleis\DiskUsageInsights\Plugin;
5 use Mgleis\DiskUsageInsights\WpHelper;
6
7 class IndexController {
8
9 public function execute() {
10 $WP_PLUGIN_URL = WpHelper::getPluginUrl();
11 $WP_NONCE = wp_create_nonce(Plugin::NONCE);
12 $WP_ADMIN_AJAX_URL = admin_url('admin-ajax.php');
13
14 include_once __DIR__ . '/../../../views/index.php';
15 }
16
17 }
18