• Resolved intelmouse

    (@intelmouse)


    I’m looking for the way to add a custom filter for date dropdown like I can do on date picker with code snippet.

    function wpf_dev_datetime_date_formats( $date_formats ) {

    $date_formats = array(
    ‘m/d/Y’ => ‘m/d/Y’,
    ‘d/m/Y’ => ‘d/m/Y’,
    ‘F j, Y’ => ‘F j, Y’,
    ‘l jS of F Y’ => ‘l jS of F Y’, // custom date filter
    );

    return $date_formats;

    }

    add_filter( ‘wpforms_datetime_date_formats’, ‘wpf_dev_datetime_date_formats’, 10, 1 );

    How can I add a custom date filter for date dropdown?

    Thanks.

Viewing 1 replies (of 1 total)
  • Hi @intelmouse,

    We’d be happy to help!

    It seems that you are using the paid version of WPForms. If you have an active license subscription with us, could you please submit a support ticket through the WPForms account dashboard when you have a chance?

    From there, our support team will be able to take a closer look at your request.

    Thanks!

Viewing 1 replies (of 1 total)
  • The topic ‘Adding custom date dropdown filter’ is closed to new replies.