403Webshell
Server IP : 195.130.67.5  /  Your IP : 216.73.217.154
Web Server : Microsoft-IIS/10.0
System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586
User : IUSR ( 0)
PHP Version : 7.4.19
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /Old Sites/ict/wp-content/plugins/the-post-grid/app/Controllers/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /Old Sites/ict/wp-content/plugins/the-post-grid/app/Controllers//WidgetController.php
<?php
/**
 * Widget Controller class.
 *
 * @package RT_TPG
 */

namespace RT\ThePostGrid\Controllers;

use RT\ThePostGrid\Widgets\TPGWidget;

// Do not allow directly accessing this file.
if ( ! defined( 'ABSPATH' ) ) {
	exit( 'This script cannot be accessed directly.' );
}

/**
 * Widget Controller class.
 */
class WidgetController {
	/**
	 * Class construct
	 */
	public function __construct() {
		add_action( 'widgets_init', [ $this, 'initWidget' ] );
	}

	/**
	 * Widgets
	 *
	 * @return void
	 */
	public function initWidget() {
		register_widget( TPGWidget::class );
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit