日期时间选择器不在字段中输出值

时间:2017-03-11 17:34:20

标签: php jquery html wordpress field

<?php 
// In the functions.php
add_filter( 'wcv_product_title', 'product_title_date' ); 
function product_title_date( $args ){ 
    $args[ 'class' ] = 'wcv-datetimepicker'; 
    return $args; 
}
?>

在前端,我可以选择日期和时间,但不会在字段中显示日期。

当我选择日期和时间时,这是输出,我附上了截图。所以它是F j,Y。 enter image description here

0 个答案:

没有答案