?

áEÓê¤ÎïLwebshll2019

Current Path : /home/webyoo/www/zohar/site/wp-content/themes/accu/cs-framework/fields/number/
Upload File :
Current File : /home/webyoo/www/zohar/site/wp-content/themes/accu/cs-framework/fields/number/number.php

<?php if ( ! defined( 'ABSPATH' ) ) { die; } // Cannot access pages directly.
/**
 *
 * Field: Number
 *
 * @since 1.0.0
 * @version 1.0.0
 *
 */
class CSFramework_Option_number extends CSFramework_Options {

  public function __construct( $field, $value = '', $unique = '' ) {
    parent::__construct( $field, $value, $unique );
  }

  public function output() {

    echo apply_filters( 'cs_element_before', $this->element_before() );
    $unit = ( isset( $this->field['unit'] ) ) ? '<em>'. $this->field['unit'] .'</em>' : '';
    echo '<input type="number" name="'. $this->element_name() .'" value="'. $this->element_value().'"'. $this->element_class() . $this->element_attributes() .'/>'. $unit;
    echo apply_filters( 'cs_element_after', $this->element_after() );
  }

}



web shell, Coded By 2019