apply_filters( 'findstr_datepicker_locale', $locale string )
add_filter( 'findstr_datepicker_locale', $locale string )
This filter is used to set the locale for the datepicker.
Parameters
| Name | Type | Description |
|---|---|---|
$locale | string | Default is the WordPress locale with underscores replaced by hyphens |
Returns:
$locale
- Type:
- string