AnonSec Shell
Server IP : 162.213.251.212  /  Your IP : 3.131.38.237   [ Reverse IP ]
Web Server : LiteSpeed
System : Linux business55.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : allssztx ( 535)
PHP Version : 8.1.31
Disable Function : NONE
Domains : 1 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/allssztx/bestvalleywater.com/wp-content/themes/woodmart/inc/integrations/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /home/allssztx/bestvalleywater.com/wp-content/themes/woodmart/inc/integrations/wcmp.php
<?php

/**
 * ------------------------------------------------------------------------------------------------
 * WC Marketplace style fix
 * ------------------------------------------------------------------------------------------------
 */

if ( ! function_exists( 'woodmart_wcmp_dequeue_styles' ) ) {
	function woodmart_wcmp_dequeue_styles() {
		if ( class_exists( 'WCMp' ) && is_vendor_dashboard() && ( is_user_wcmp_vendor( get_current_user_id() ) || is_user_wcmp_pending_vendor( get_current_user_id() ) || is_user_wcmp_rejected_vendor( get_current_user_id() ) ) ) {
			wp_dequeue_style( 'bootstrap' );
			wp_deregister_style('bootstrap');
		}
	}

	add_action( 'wp_enqueue_scripts', 'woodmart_wcmp_dequeue_styles', 10005 );
}

if ( ! function_exists( 'woodmart_wcmp_custom_css' ) ) {
	function woodmart_wcmp_custom_css() {
		if ( class_exists( 'WCMp' ) && is_vendor_dashboard() && ( is_user_wcmp_vendor( get_current_user_id() ) || is_user_wcmp_pending_vendor( get_current_user_id() ) || is_user_wcmp_rejected_vendor( get_current_user_id() ) ) ) {
			$css = apply_filters( 'woodmart_wcmp_custom_css', 'body[class*="wcmp"] .cart-widget-side,body[class*="wcmp"] .mobile-nav,body[class*="wcmp"] .wd-cookies-popup,body[class*="wcmp"] .pswp,body[class*="wcmp"] .scrollToTop,body[class*="wcmp"] .wd-search-full-screen,body[class*="wcmp"] .wd-promo-popup {display: none;} body[class*="wcmp"] .amount {color: inherit;}' );
			
			echo '<style data-type="woodmart-wcmp-custom-css">' . $css . '</style>';
		}
	}

	add_action( 'wp_enqueue_scripts', 'woodmart_wcmp_custom_css', 10010 );
}

Anon7 - 2022
AnonSec Team