theme-function.php dokan_edit_product_url( $product_id ) // working for published product