Filter Detail

Filter Name:frm_datepicker_formats
Declaration:
apply_filters( 'frm_datepicker_formats', $formats );
Filter Type:
Static
In class:
Location:
formidable-pro/classes/helpers/FrmProAppHelper.php
Pro function:
Yes
Basic Usage:
add_filter('frm_datepicker_formats', 'add_custom_frm_format');
function add_custom_frm_format($formats)
Examples:

The example shown in the Formidable Knowledge Base article for "Change Date Format" is incorrect. The correct example is:

add_filter('frm_datepicker_formats', 'add_custom_frm_format');
function add_custom_frm_format($formats) {
$formats[] = 'd M, yy'; //change PHP and Datepicker formats
return $formats;
}

Contribute Comments or Examples

Codex Comments/Examples
First
Last
No Entries Found