403Webshell
Server IP : 146.59.209.152  /  Your IP : 216.73.216.46
Web Server : Apache
System : Linux webm005.cluster131.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
User : infrafs ( 43850)
PHP Version : 8.2.29
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/infrafs/www/wp-content/themes/trackstore/framework/admin/options/reset/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/infrafs/www/wp-content/themes/trackstore/framework/admin/options/reset/map.php
<?php

if ( ! function_exists( 'trackstore_elated_reset_options_map' ) ) {
	/**
	 * Reset options panel
	 */
	function trackstore_elated_reset_options_map() {
		
		trackstore_elated_add_admin_page(
			array(
				'slug'  => '_reset_page',
				'title' => esc_html__( 'Reset', 'trackstore' ),
				'icon'  => 'fa fa-retweet'
			)
		);
		
		$panel_reset = trackstore_elated_add_admin_panel(
			array(
				'page'  => '_reset_page',
				'name'  => 'panel_reset',
				'title' => esc_html__( 'Reset', 'trackstore' )
			)
		);
		
		trackstore_elated_add_admin_field(
			array(
				'type'          => 'yesno',
				'name'          => 'reset_to_defaults',
				'default_value' => 'no',
				'label'         => esc_html__( 'Reset to Defaults', 'trackstore' ),
				'description'   => esc_html__( 'This option will reset all Select Options values to defaults', 'trackstore' ),
				'parent'        => $panel_reset
			)
		);
	}
	
	add_action( 'trackstore_elated_options_map', 'trackstore_elated_reset_options_map', 18 );
}

Youez - 2016 - github.com/yon3zu
LinuXploit