Skip to content

Commit

Permalink
Merge pull request #35 from razorpay/razorpay_section_conflict
Browse files Browse the repository at this point in the history
PO-182 naming conflict for razorpay sections
  • Loading branch information
abdulwahidsharief authored Sep 9, 2024
2 parents 4b8b007 + e43c232 commit f3c112d
Showing 1 changed file with 3 additions and 3 deletions.
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

0 comments on commit f3c112d

Please sign in to comment.