WC_Admin_Menus::add_nav_menu_meta_boxes()
Add custom nav meta box.
Adapted from http://www.johnmorrisonline.com/how-to-add-a-fully-functional-custom-meta-box-to-wordpress-navigation-menus/.
Method of the class: WC_Admin_Menus{}
No Hooks.
Return
null
. Nothing.
Usage
$WC_Admin_Menus = new WC_Admin_Menus(); $WC_Admin_Menus->add_nav_menu_meta_boxes();
WC_Admin_Menus::add_nav_menu_meta_boxes() WC Admin Menus::add nav menu meta boxes code WC 7.5.1
public function add_nav_menu_meta_boxes() { add_meta_box( 'woocommerce_endpoints_nav_link', __( 'WooCommerce endpoints', 'woocommerce' ), array( $this, 'nav_menu_links' ), 'nav-menus', 'side', 'low' ); }