403Webshell
Server IP : 103.48.194.25  /  Your IP : 216.73.217.33
Web Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.33
System : Linux VMHostDefault 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64
User : sieuthimay ( 1016)
PHP Version : 8.2.20
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/sieuthimayasia.com/public_html/wp-content/themes/mtw-maycn/inc/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/sieuthimayasia.com/public_html/wp-content/themes/mtw-maycn/inc/tgm-register.php
<?php
/**
 * This file represents an example of the code that themes would use to register
 * the required plugins.
 *
 * @see https://github.com/TGMPA/TGM-Plugin-Activation/blob/develop/example.php
 *
 * @package MTWTeam
 */

/**
 * Register the required plugins for this theme.
 */
function mtwfn_register_required_plugins() {
	/*
	 * Array of plugin arrays. Required keys are name and slug.
	 */
	$plugins = array(
		array(
			'name' => esc_html__( 'WooCommerce', 'maycn' ),
			'slug' => 'woocommerce',
			'required' => true,
		),
		array(
			'name' => esc_html__( 'Yoast SEO', 'maycn' ),
			'slug' => 'wordpress-seo',
			'required' => false,
		),
		array(
			'name' => esc_html__( 'Meta Slider', 'maycn' ),
			'slug' => 'ml-slider',
			'required' => false,
		),
		array(
			'name' => esc_html__( 'YITH WooCommerce Zoom Magnifier', 'maycn' ),
			'slug' => 'yith-woocommerce-zoom-magnifier',
			'required' => false,
		),
		array(
			'name' => esc_html__( 'YITH WooCommerce Quick View', 'maycn' ),
			'slug' => 'yith-woocommerce-quick-view',
			'required' => false,
		),
		array(
			'name' => esc_html__( 'Contact Form 7', 'maycn' ),
			'slug' => 'contact-form-7',
			'required' => false,
		),
		array(
			'name' => esc_html__( 'SearchWP Live Ajax Search', 'maycn' ),
			'slug' => 'searchwp-live-ajax-search',
			'required' => false,
		),
	);

	/*
	 * Array of configuration settings. Amend each line as needed.
	 */
	$config = array(
		'id' => 'maycn',
		'is_automatic' => true,
		'strings' => array( 'nag_type' => 'notice-warning' ),
	);

	tgmpa( $plugins, $config );
}
add_action( 'tgmpa_register', 'mtwfn_register_required_plugins' );

Youez - 2016 - github.com/yon3zu
LinuXploit