From a64fa98b404627f1124fd9e2761344b96bb584e5 Mon Sep 17 00:00:00 2001 From: Fredrik Forsmo Date: Tue, 5 Jan 2016 16:29:16 +0100 Subject: [PATCH] Improve docblock comments in WC_Admin_Menus class MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Added comment to `nav_menu_links` since it didn’t have any. --- includes/admin/class-wc-admin-menus.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/includes/admin/class-wc-admin-menus.php b/includes/admin/class-wc-admin-menus.php index bfde5b84380..c95b5773ec2 100644 --- a/includes/admin/class-wc-admin-menus.php +++ b/includes/admin/class-wc-admin-menus.php @@ -236,6 +236,9 @@ class WC_Admin_Menus { add_meta_box( 'woocommerce_endpoints_nav_link', __( 'WooCommerce Endpoints', 'woocommerce' ), array( $this, 'nav_menu_links' ), 'nav-menus', 'side', 'low' ); } + /** + * Output menu links. + */ public function nav_menu_links() { $exclude = array( 'view-order', 'add-payment-method', 'order-pay', 'order-received' ); ?>