Redirect Problem on Dokan File
-
Hello,
I’m trying to generate a link to the view order details page from a php file in Dokan. However, I couldn’t do this.
The link is correct but the problem occurs after redirect (& to &)
Where am I doing wrong? Can you show me the way ?if ( current_user_can( 'dokan_view_order' ) ): $redirect_link = wp_nonce_url( add_query_arg( array( 'order_id' => $request['order_id'] ), dokan_get_navigation_url( 'orders' ) ), 'dokan_view_order' ); else: $redirect_link = esc_attr( $request['order_id']); endif; wp_redirect($redirect_link,301);
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Redirect Problem on Dokan File’ is closed to new replies.