diff --git a/gp-nested-forms/gpnf-map-child-entries-to-acf-repeater-field.php b/gp-nested-forms/gpnf-map-child-entries-to-acf-repeater-field.php index 4e470d1f1..80a6a6d08 100644 --- a/gp-nested-forms/gpnf-map-child-entries-to-acf-repeater-field.php +++ b/gp-nested-forms/gpnf-map-child-entries-to-acf-repeater-field.php @@ -12,7 +12,7 @@ class GPNF_Map_Child_Entries_To_ACF_Repeater { public function __construct( $args ) { $this->_args = wp_parse_args( $args, array( 'form_id' => false, - 'nested_form_field_id' => false, + 'nested_form_field_id' => false, 'field_map' => array(), 'acf_repeater_field_name' => false, ) ); @@ -42,9 +42,9 @@ function gw_child_entries_to_repeater( $post_id, $feed, $entry, $form ) { update_field( $this->_args['acf_repeater_field_name'], $repeat_value, $post_id ); } } - } +} - new GPNF_Map_Child_Entries_To_ACF_Repeater( array( +new GPNF_Map_Child_Entries_To_ACF_Repeater( array( 'form_id' => 7, // Set this to the parent form ID 'nested_form_field_id' => 18, // Update to the ID of the Nested Form field. 'field_map' => array( @@ -52,5 +52,5 @@ function gw_child_entries_to_repeater( $post_id, $feed, $entry, $form ) { 'role_comedien' => 3, ), // The field map contains "field_name" => "child_entry_field_id" pairs. The field name is the name of the fields in // the ACF Repeater field. The child entry field ID is the field ID from the child form. - 'acf_repeater_field_name' => 'comediens', // Update o the field name of the ACF repeater field. + 'acf_repeater_field_name' => 'comediens', // Update to the field name of the ACF repeater field. ) ); diff --git a/gp-notification-scheduler/gpns-payment-status-conditional-logic.php b/gp-notification-scheduler/gpns-payment-status-conditional-logic.php index 0d08164fb..e3be3f6b9 100644 --- a/gp-notification-scheduler/gpns-payment-status-conditional-logic.php +++ b/gp-notification-scheduler/gpns-payment-status-conditional-logic.php @@ -1,3 +1,4 @@ +/gravity-forms/all-fields.php` * - * Override the `{all_fields}` template for a specific form by specifying the form ID: + * Override the `{all_fields}` template for a specific form by specifying the form ID: * `/gravity-forms/all-fields-.php` * * - **`{all_fields:template[custom]}`** * - * Specify a custom template suffix. This is useful for allowing specific forms to use the same template. + * Specify a custom template suffix. This is useful for allowing specific forms to use the same template. * `/gravity-forms/all-fields-custom.php` * * - **`{all_fields:notemplate}`** @@ -41,7 +41,7 @@ * Filtering will only include the specified fields and exclude all others. It cannot be combined with the include * exclude filters. * - * `{all_fields:filter[1]}` + * `{all_fields:filter[1]}` * `{all_fields:filter[1,2]}` * * - **`:include`** @@ -49,16 +49,16 @@ * Including will include fields with types that are typically not supported by the `{all_fields}` merge tag * (e.g., HTML fields). * - * `{all_fields:include[3]}` - * `{all_fields:include[3,4]}` + * `{all_fields:include[3]}` + * `{all_fields:include[3,4]}` * `{all_fields:include[3,4],exclude[5]}` * * - **`:exclude`** * * Excluding will exclude specific fields from being included in the `{all_fields}` output. * - * `{all_fields:exclude[5]}` - * `{all_fields:exclude[5,6]}` + * `{all_fields:exclude[5]}` + * `{all_fields:exclude[5,6]}` * `{all_fields:exclude[5],include[3,4]}` * */ diff --git a/gravity-forms/gw-custom-validation.php b/gravity-forms/gw-custom-validation.php index 6775a4a00..8d11a2e7e 100644 --- a/gravity-forms/gw-custom-validation.php +++ b/gravity-forms/gw-custom-validation.php @@ -18,7 +18,7 @@ if ( strpos( $value, '.' ) !== false ) { $result['is_valid'] = false; - $result['message'] = 'Please enter a valid value.'; + $result['message'] = 'Please enter a valid value.'; } return $result; diff --git a/gravity-forms/gw-require-unique-values.php b/gravity-forms/gw-require-unique-values.php index 8c98038fb..189430d49 100644 --- a/gravity-forms/gw-require-unique-values.php +++ b/gravity-forms/gw-require-unique-values.php @@ -88,7 +88,7 @@ public function validate( $result, $value, $form, $field ) { $is_unique = true; foreach ( $field->inputs as $input ) { - $input_id = $input['id']; + $input_id = $input['id']; $input_value = rgars( $value, $input_id ); if ( empty( $input_value ) ) { @@ -101,7 +101,7 @@ public function validate( $result, $value, $form, $field ) { } $input_hash = $this->get_value_hash( array( $input_value ) ); - $is_unique = ! in_array( $input_hash, $values ); + $is_unique = ! in_array( $input_hash, $values ); if ( ! $is_unique ) { break; }