Search Documentation

WP Travel Developer Documentation

  1. Home
  2. Docs
  3. WP Travel Developer Documentation
  4. Filters Associated With Date
  5. Filter :wp_travel_js_date_format

Filter :wp_travel_js_date_format

WP Travel JavaScript date format.

Active Since v1.6.7

Source

File: /inc/helpers.php
Used by: /inc/helpers.php

Parameters
$js_date_format

Example:

function prefix_wp_travel_js_date_format( $js_date_format ) {
    $js_date_format = ‘DATE FORMAT’;
    return $js_date_format;
}
add_filter( 'wp_travel_js_date_format', 'prefix_wp_travel_js_date_format' );
Was this article helpful to you? Yes No

How can we help?