芝麻web文件管理V1.00
编辑当前文件:/var/www/cognitio.in/wp-content/plugins/Ultimate_VC_Addons/params/Ultimate_DateTime_Picker.php
= 0 ) { if ( function_exists( 'vc_add_shortcode_param' ) ) { vc_add_shortcode_param( 'datetimepicker', array( $this, 'datetimepicker' ), UAVC_URL . 'admin/js/bootstrap-datetimepicker.min.js' ); } } else { if ( function_exists( 'add_shortcode_param' ) ) { add_shortcode_param( 'datetimepicker', array( $this, 'datetimepicker' ), UAVC_URL . 'admin/js/bootstrap-datetimepicker.min.js' ); } } } /** * Date time picker. * * @param array $settings Settings. * @param string $value Value. */ public function datetimepicker( $settings, $value ) { $dependency = ''; $param_name = isset( $settings['param_name'] ) ? $settings['param_name'] : ''; $type = isset( $settings['type'] ) ? $settings['type'] : ''; $class = isset( $settings['class'] ) ? $settings['class'] : ''; $uni = uniqid( 'datetimepicker-' . wp_rand() ); $output = '
'; $output .= ''; return $output; } } } if ( class_exists( 'Ultimate_VC_Addons_DateTime_Picker_Param' ) ) { $ultimate_datetime_picker_param = new Ultimate_VC_Addons_DateTime_Picker_Param(); }