Skip to content

Commit

Permalink
feature: add admin setting to stripe general settings
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaHungDinh committed Sep 17, 2024
1 parent 13d6dd2 commit bcd64e9
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,16 @@ public function register_settings( $settings ) {
'type' => 'checkbox',
];

$settings['general'][] = [
'name' => esc_html__('Stripe Subscription Pause', 'give'),
'desc' => esc_html__(
'Check this option if you would like to allow donors the ability to pause their subscription from the Donor Dashboard.',
'give'
),
'id' => 'stripe_subscription_pause',
'type' => 'checkbox',
];

$settings['general'][] = [
'name' => esc_html__( 'Stripe Gateway Documentation', 'give' ),
'id' => 'display_settings_general_docs_link',
Expand Down

0 comments on commit bcd64e9

Please sign in to comment.