File tree Expand file tree Collapse file tree 1 file changed +11
-8
lines changed Expand file tree Collapse file tree 1 file changed +11
-8
lines changed Original file line number Diff line number Diff line change 99 * Plugin URI: https://gravitywiz.com/gravity-forms-date-merge-tags/
1010 * Description: Adds merge tag modifiers for formatting date merge tags using PHP Date Formats.
1111 * Author: Gravity Wiz
12- * Version: 0.5
12+ * Version: 0.6
1313 * Author URI: https://gravitywiz.com
1414 */
1515class GW_Format_Date_Merge_Tag {
@@ -98,12 +98,15 @@ public function is_applicable_form( $form ) {
9898
9999# Configuration
100100
101- new GW_Format_Date_Merge_Tag ( array (
102- 'form_id ' => 123 ,
103- ) );
101+ new GW_Format_Date_Merge_Tag ();
104102
105- # Configuration with locale enabled.
106- // new GW_Format_Date_Merge_Tag( array(
107- // 'form_id' => 123,
103+ # Apply locale to all forms.
104+ //new GW_Format_Date_Merge_Tag( array(
108105// 'locale' => 'fr_FR',
109- // ) );
106+ //) );
107+
108+ # Apply locale to a specific form.
109+ //new GW_Format_Date_Merge_Tag( array(
110+ // 'form_id' => 123,
111+ // 'locale' => 'fr_FR',
112+ //) );
You can’t perform that action at this time.
0 commit comments