Skip to content

Commit

Permalink
fix: change withdraw and refund page url from admin email
Browse files Browse the repository at this point in the history
  • Loading branch information
sabbir1991 committed Sep 4, 2018
1 parent 5d97346 commit 0cfd999
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions includes/class-email.php
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ function dokan_refund_request( $order_id ) {

$replace = array(
$order_id,
admin_url( 'admin.php?page=dokan-refund&status=pending' ),
admin_url( 'admin.php?page=dokan#/refund?status=pending' ),
$this->get_from_name(),
home_url(),
);
Expand Down Expand Up @@ -323,7 +323,7 @@ function prepare_withdraw( $body, $user, $amount, $method, $note = '' ) {
$this->currency_symbol( $amount ),
dokan_withdraw_get_method_title( $method ),
admin_url( 'user-edit.php?user_id=' . $user->ID ),
admin_url( 'admin.php?page=dokan-withdraw' ),
admin_url( 'admin.php?page=dokan#/withdraw?status=pending' ),
$this->get_from_name(),
home_url(),
$note
Expand Down Expand Up @@ -552,4 +552,4 @@ function send( $to, $subject, $message, $headers = array() ) {
remove_filter( 'wp_mail_from', array( $this, 'get_from_address' ) );
remove_filter( 'wp_mail_from_name', array( $this, 'get_from_name' ) );
}
}
}

0 comments on commit 0cfd999

Please sign in to comment.