Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PO-182 naming conflict for razorpay sections #35

Merged
merged 1 commit into from
Sep 9, 2024
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
6 changes: 3 additions & 3 deletions templates/razorpay-settings-templates.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function razorpaySettings()
<form action="options.php" method="POST">';

settings_fields('razorpay_fields');
do_settings_sections('razorpay_sections');
do_settings_sections('razorpay_sections_pb');
submit_button();

echo
Expand All @@ -26,7 +26,7 @@ function razorpaySettings()
**/
function displayOptions()
{
add_settings_section('razorpay_fields', 'Edit Settings', array($this, 'displayHeader'), 'razorpay_sections');
add_settings_section('razorpay_fields', 'Edit Settings', array($this, 'displayHeader'), 'razorpay_sections_pb');

$settings = $this->get_settings();

Expand All @@ -41,7 +41,7 @@ function displayOptions()
$this,
$displayMethod
),
'razorpay_sections',
'razorpay_sections_pb',
'razorpay_fields'
);

Expand Down