Skip to content

Commit 09779d1

Browse files
authored
gw-manual-entries.php: Fixed an issue with Manual Entries button displaying on Stripe Sales View.
1 parent d0cd0c1 commit 09779d1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

gravity-forms/gw-manual-entries.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,11 @@ public function init() {
4242
return;
4343
}
4444

45+
// do not display the Add New Entry button for Stripe Sales Screen
46+
if ( rgget( 'view' ) == 'gf_results_gravityformsstripe' ) {
47+
return;
48+
}
49+
4550
add_filter( 'admin_print_scripts-forms_page_gf_entries', array( $this, 'output_entry_button_script' ) );
4651

4752
add_filter( 'gpnf_template_args', array( $this, 'gpnf_add_entry_action' ), 10, 2 );

0 commit comments

Comments
 (0)