open labels in new window

This commit is contained in:
Aadil Ayub 2024-05-03 10:24:37 +00:00
parent 1eb14bffb3
commit aa85dc5afc
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ function mont58_coffee_label_add_sidepanel() {
function mont58_coffee_label_render_sidepanel($post) {
// Render the content of the sidepanel here
$order_id = $post->ID;
echo '<a href="/coffee-label?order_id=' . $order_id . '" class="button button-primary">View Label</a>';
echo '<a href="/coffee-label?order_id=' . $order_id . '" class="button button-primary" target="_blank">View Label</a>';
}
// Load custom template