Naguro_WordPress_Settings_Dispatcher

The WooCommerce Naguro Connect Naguro WordPress Settings Dispatcher class.

Defined (1)

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

/includes/wordpress/class-wordpress-settings-dispatcher.php  
  1. class Naguro_WordPress_Settings_Dispatcher { 
  2. public function load_settings_page() { 
  3. $tab = ( isset( $_GET['tab'] ) ) ? $_GET['tab'] : 'dashboard'; 
  4.  
  5. switch( $tab ) { 
  6. case 'dashboard': 
  7. new Naguro_Dashboard_Page(); 
  8. break; 
  9. case 'modules': 
  10. new Naguro_Modules_Page(); 
  11. break; 
  12. case 'settings': 
  13. new Naguro_Settings_Page(); 
  14. break;