Skip to content

Commit 6395c73

Browse files
authored
Merge pull request #8 from raftaar1191/issues-7
fix(convertKit): Update hooks for compatibility with Give 2.1 #7
2 parents 660d049 + bd4a3f3 commit 6395c73

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

give-convertkit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
}
1616

1717
if ( ! defined( 'GIVE_CONVERTKIT_MIN_GIVE_VERSION' ) ) {
18-
define( 'GIVE_CONVERTKIT_MIN_GIVE_VERSION', '1.8.2' );
18+
define( 'GIVE_CONVERTKIT_MIN_GIVE_VERSION', '2.1.0' );
1919
}
2020

2121
if ( ! defined( 'GIVE_CONVERTKIT_PATH' ) ) {

includes/class-give-convertkit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public function __construct() {
6161
add_action( 'admin_enqueue_scripts', array( $this, 'admin_scripts' ), 100 );
6262

6363
// Donation metabox.
64-
add_filter( 'give_view_order_details_totals_after', array( $this, 'donation_metabox_notification' ), 10, 1 );
64+
add_filter( 'give_view_donation_details_totals_after', array( $this, 'donation_metabox_notification' ), 10, 1 );
6565

6666
// Get it started.
6767
add_action( 'init', array( $this, 'init' ) );

0 commit comments

Comments
 (0)