open labels in new window
This commit is contained in:
parent
1eb14bffb3
commit
aa85dc5afc
@ -27,7 +27,7 @@ function mont58_coffee_label_add_sidepanel() {
|
|||||||
function mont58_coffee_label_render_sidepanel($post) {
|
function mont58_coffee_label_render_sidepanel($post) {
|
||||||
// Render the content of the sidepanel here
|
// Render the content of the sidepanel here
|
||||||
$order_id = $post->ID;
|
$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
|
// Load custom template
|
||||||
|
Loading…
Reference in New Issue
Block a user