Skip to content

Commit

Permalink
Merge pull request #49 from mariovalney/patch-1
Browse files Browse the repository at this point in the history
Support to CF7 new way to load properties
  • Loading branch information
kennym authored Jan 6, 2022
2 parents 4af005d + ebd4bb5 commit 49dfa8d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion contact-form-7-api.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* Plugin Name: Contact form 7 to api + Basic auth
* Plugin URI: https://github.com/kennym/cf7-to-api
* Description: Connect contact forms 7 to remote API using GET or POST.
* Version: 1.4.10
* Version: 1.4.11
* Author: Kenny Meyer
* Author URI: https://www.kennymeyer.net
* License: GPL-2.0+
Expand Down
1 change: 1 addition & 0 deletions includes/class-cf7-api-admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ public function register_hooks(){
add_action( "wpcf7_save_contact_form" ,array( $this , "qs_save_contact_form_details") , 10 , 1 );

add_filter( "wpcf7_contact_form_properties" ,array( $this , "add_sf_properties" ) , 10 , 2 );
add_filter( "wpcf7_pre_construct_contact_form_properties" ,array( $this , "add_sf_properties" ) , 10 , 2 );
}

/**
Expand Down
4 changes: 4 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@ For example:

Changelog
---------
### 1.4.11

- Support to new CF7 version

### 1.4.10

- Add ability to override message with api response body (@Logikgate)
Expand Down

0 comments on commit 49dfa8d

Please sign in to comment.