spivurno
6/27/2014 - 10:08 PM

Gravity Wiz // Populate Today's Date in Gravity Forms Date Field

Gravity Wiz // Populate Today's Date in Gravity Forms Date Field

<?php
/**
* Gravity Wiz // Populate Today's Date in Gravity Forms Date Field
*/
add_filter('gform_field_value_today', 'gw_today');
function gw_today() {
    return date( 'Y-m-d' );
}