PATH:
home
/
lab2454c
/
fcxpro.com
/
wp-content
/
plugins
/
qode-framework
/
inc
/
common
/
fields
<?php class QodeFrameworkFieldDate extends QodeFrameworkFieldType { function __construct( $params ) { $date_format = 'yy-mm-dd'; if ( isset( $params['args'] ) && isset( $params['args']['date_format'] ) && ! empty( $params['args']['date_format'] ) ) { $date_format = $params['args']['date_format']; } $params['date_format'] = $date_format; parent::__construct( $params ); } public function load_assets() { parent::load_assets(); wp_enqueue_script( 'jquery-ui-datepicker' ); } public function render_field() { ?> <input type="text" data-date-format="<?php echo esc_attr( $this->params['date_format'] ); ?>" class="qodef-field qodef-input qodef-datepicker" name="<?php echo esc_attr( $this->name ); ?>" value="<?php echo esc_attr( $this->params['value'] ); ?>" autocomplete="off" readonly/> <?php } }
[-] class-qodeframeworkfielddate.php
[edit]
[-] class-qodeframeworkfieldtextarea.php
[edit]
[-] class-qodeframeworkfieldicon.php
[edit]
[-] class-qodeframeworkfieldaddress.php
[edit]
[+]
..
[-] class-qodeframeworkfieldfile.php
[edit]
[-] class-qodeframeworkfieldselect.php
[edit]
[-] class-qodeframeworkfieldimage.php
[edit]
[-] class-qodeframeworkfieldfont.php
[edit]
[-] class-qodeframeworkfieldtype.php
[edit]
[-] class-qodeframeworkfieldyesno.php
[edit]
[-] class-qodeframeworkfieldcolor.php
[edit]
[-] class-qodeframeworkfieldtextareasvg.php
[edit]
[-] class-qodeframeworkfieldgooglefont.php
[edit]
[-] class-qodeframeworkfieldiconpack.php
[edit]
[-] class-qodeframeworkfieldcheckbox.php
[edit]
[-] class-qodeframeworkfieldpassword.php
[edit]
[-] class-qodeframeworkfieldradio.php
[edit]
[-] class-qodeframeworkfieldtextareahtml.php
[edit]
[-] class-qodeframeworkfieldtext.php
[edit]
[-] class-qodeframeworkfieldhidden.php
[edit]