Skip to content

Commit

Permalink
Update razorpay-affordability-widget.php
Browse files Browse the repository at this point in the history
  • Loading branch information
rohitcbr committed May 29, 2024
1 parent a17e1c8 commit f37a999
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion includes/razorpay-affordability-widget.php
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,10 @@ function initAdminFunctions()

function displayAffordabilityWidgetSettings()
{
initAdminFunctions();
if(function_exists('woocommerce_admin_fields') === false)
{
initAdminFunctions();
}
woocommerce_admin_fields(getAffordabilityWidgetSettings());
}

Expand Down

0 comments on commit f37a999

Please sign in to comment.