Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions stripe/views/action-settings/options.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
die( 'You are not allowed to call this page directly.' );
}

if ( class_exists( 'FrmStrpHooksController', false ) ) {
// Prevent the Layout setting from appearing twice when the Stripe add-on is active.
return;
}

$show_layout_setting = in_array( 'stripe', (array) $form_action->post_content['gateway'], true );
$layout_setting_wrapper_atts = array( 'class' => 'frm_grid_container show_stripe frm-mb-xs' );

Expand Down
Loading