apply_filters( 'findstr_date_format_{format}', $date_formats array )
add_filter( 'findstr_date_format_{format}', $date_formats array )
Filter the date formats.
This filter is used to modify the date formats used in the front script, it's useful to adapt the date format to the website's language.
"format" can be 'short', 'medium', 'long', 'full'
Parameters
| Name | Type | Description |
|---|---|---|
$date_formats | array |
- Source
Returns:
$date_formats
- Type:
- array