From e9b3d67ab72de19dc8edd8a28f3cd8912beb1ea9 Mon Sep 17 00:00:00 2001 From: Mike Jolley Date: Thu, 24 Jul 2014 10:21:57 +0100 Subject: [PATCH] Coupon template not needed --- .../meta-boxes/views/html-order-coupon.php | 40 ------------------- 1 file changed, 40 deletions(-) delete mode 100644 includes/admin/meta-boxes/views/html-order-coupon.php diff --git a/includes/admin/meta-boxes/views/html-order-coupon.php b/includes/admin/meta-boxes/views/html-order-coupon.php deleted file mode 100644 index b377eaab59a..00000000000 --- a/includes/admin/meta-boxes/views/html-order-coupon.php +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - -
- get_var( $wpdb->prepare( "SELECT ID FROM $wpdb->posts WHERE post_title = %s AND post_type = 'shop_coupon' AND post_status = 'publish' LIMIT 1;", $item['name'] ) ); - - $coupon_url = $coupon_id ? add_query_arg( array( 'post' => $coupon_id, 'action' => 'edit' ), admin_url( 'post.php' ) ) : add_query_arg( array( 's' => $item['name'], 'post_status' => 'all', 'post_type' => 'shop_coupon' ), admin_url( 'edit.php' ) ); - - echo '' . esc_html( $item['name'] ). ''; - ?> -
- - - 1 - - -
- -
- - - - - - - - - - - -