Naguro_WordPress_Menu

The WooCommerce Naguro Connect Naguro WordPress Menu class.

Defined (1)

The class is defined in the following location(s).

/includes/wordpress/class-wordpress-menu.php  
  1. class Naguro_WordPress_Menu { 
  2. public function __construct() { 
  3. add_action( 'admin_menu', array( $this, 'add_menu' ) ); 
  4.  
  5. public function add_menu() { 
  6. add_menu_page( 'Naguro', 'Naguro', 'manage_options', 'woocommerce-naguro', array( $this, 'menu_callback' ), null, 27 ); 
  7.  
  8. public function menu_callback() { 
  9. $dispatcher = new Naguro_WordPress_Settings_Dispatcher(); 
  10. $dispatcher->load_settings_page();