Skip to content

Commit

Permalink
fix: vendor payment settings page available withdraw methods display …
Browse files Browse the repository at this point in the history
…issue. (#695)
  • Loading branch information
siananda authored and sabbir1991 committed Dec 9, 2019
1 parent 7dd1545 commit 766f3fa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions templates/settings/payment.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@

<?php foreach ( $methods as $method_key ) {
$method = dokan_withdraw_get_method( $method_key );
if ( is_callable( $method['callback'] ) ) {
?>
<fieldset class="payment-field-<?php echo esc_attr( $method_key ); ?>">
<div class="dokan-form-group">
<label class="dokan-w3 dokan-control-label" for="dokan_setting"><?php echo esc_html( $method['title'] ) ?></label>
<div class="dokan-w6">
<?php if ( is_callable( $method['callback'] ) ) {
call_user_func( $method['callback'], $profile_info );
} ?>
<?php call_user_func( $method['callback'], $profile_info ); ?>
</div> <!-- .dokan-w6 -->
</div>
</fieldset>
<?php } ?>
<?php } ?>

<?php
Expand Down

0 comments on commit 766f3fa

Please sign in to comment.