• Hello and many thanks your your amazing plugin. It works perfect but sometimes it’s expected a bit more even from perfect.

    It would be very useful if you allowed to change url params names from field names to something else. I know that there is a workaround to change the name of the field, but sometimes these names dependence from too many circumstances…..

    So, if in file class-wpcf7r-action-redirect.php you would just have changed sentence:
    $fields_to_add_args[ $field_to_add ] = isset( $this->posted_data[ $field_to_add ] ) ? $this->posted_data[ $field_to_add ] : ”;

    to (something like):
    list( $field_name_to_add, $field_to_add ) = explode( ‘=’, $field_to_add );
    $field_name_to_add = trim( $field_name_to_add );
    $field_to_add = ! empty( $field_to_add ) ? trim( $field_to_add ) : $field_name_to_add;
    $fields_to_add_args[ $field_name_to_add ] = isset( $this->posted_data[ $field_to_add ] ) ? $this->posted_data[ $field_to_add ] : ”;

    it would add another icing on the cake of your great plugin!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘To allow to change GET url params names’ is closed to new replies.