HEX
Server: LiteSpeed
System: Linux altar40.supremepanel40.com 4.18.0-553.83.1.lve.el8.x86_64 #1 SMP Wed Nov 12 10:04:12 UTC 2025 x86_64
User: sescorpcl (4477)
PHP: 8.2.32
Disabled: NONE
Upload Files
File: /home/sescorpcl/public_html/wp-content/plugins/ninja-forms/includes/Fields/Quantity.php
<?php if ( ! defined( 'ABSPATH' ) ) exit;

/**
 * Class NF_Fields_ProductQuantity
 */
class NF_Fields_Quantity extends NF_Fields_Number
{
    protected $_name = 'quantity';

    protected $_section = '';

    protected $_icon = 'hashtag';

    protected $_aliases = array();

    protected $_type = 'quantity';

    protected $_templates = 'number';

    protected $_test_value = 'Lorem ipsum';

    protected $_settings = array( 'product_assignment', 'number' );

    protected $_settings_exclude = array( 'required', 'input_limit_set' );

    public function __construct()
    {
        parent::__construct();

        $this->_nicename = esc_html__( 'Quantity', 'ninja-forms' );
    }
}