monsterinsights_settings_page

Callback to output the MonsterInsights settings page.

Description

monsterinsights_settings_page(); 

Usage

  1. if ( !function_exists( 'monsterinsights_settings_page' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'google-analytics-for-wordpress-by-monsterinsights/includes/admin/pages/settings.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = monsterinsights_settings_page(); 
  7.  

Defined (1)

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

/includes/admin/pages/settings.php  
  1. function monsterinsights_settings_page() { 
  2. /**  
  3. * Developer Alert: 
  4. * Per the README, this is considered an internal hook and should 
  5. * not be used by other developers. This hook's behavior may be modified 
  6. * or the hook may be removed at any time, without warning. 
  7. */ 
  8. do_action( 'monsterinsights_head' ); 
  9. ?> 
  10. <?php echo monsterinsights_ublock_notice(); ?> 
  11.  
  12. <!-- Tabs --> 
  13. <h1 id="monsterinsights-settings-page-main-nav" class="monsterinsights-main-nav-container monsterinsights-nav-container" data-container="#monsterinsights-settings-pages"> 
  14. <a class="monsterinsights-main-nav-item monsterinsights-nav-item monsterinsights-spacing-item" href="#"> </a> 
  15.  
  16. <a class="monsterinsights-main-nav-item monsterinsights-nav-item monsterinsights-active" href="#monsterinsights-main-tab-general" title="<?php echo esc_attr( __( 'General', 'google-analytics-for-wordpress' ) ); ?>"> 
  17. <?php echo esc_html__( 'General', 'google-analytics-for-wordpress' ); ?> 
  18. </a> 
  19.  
  20. <a class="monsterinsights-main-nav-item monsterinsights-nav-item" href="#monsterinsights-main-tab-tracking" title="<?php echo esc_attr( __( 'Tracking', 'google-analytics-for-wordpress' ) ); ?>"> 
  21. <?php echo esc_html__( 'Tracking', 'google-analytics-for-wordpress' ); ?> 
  22. </a> 
  23. <!-- 
  24. <a class="monsterinsights-main-nav-item monsterinsights-nav-item" href="#monsterinsights-main-tab-status" title="<?php //echo esc_attr( __( 'Status', 'google-analytics-for-wordpress' ) ); ?>"> 
  25. <?php //echo esc_html__( 'Status', 'google-analytics-for-wordpress' ); ?> 
  26. </a> 
  27.  
  28. <a class="monsterinsights-main-nav-item monsterinsights-nav-item" href="#monsterinsights-main-tab-support" title="<?php //echo esc_attr( __( 'Support', 'google-analytics-for-wordpress' ) ); ?>"> 
  29. <?php //echo esc_html__( 'Support', 'google-analytics-for-wordpress' ); ?> 
  30. </a> 
  31. --> 
  32. </h1> 
  33.  
  34.  
  35. <!-- Tab Panels --> 
  36. <div id="monsterinsights-settings-pages" class="monsterinsights-main-nav-tabs monsterinsights-nav-tabs wrap" data-navigation="#monsterinsights-settings-page-main-nav"> 
  37. <h1 class="monsterinsights-hideme"></h1><!-- sowpnotices are below the nav bar --> 
  38. <div id="monsterinsights-main-tab-general" class="monsterinsights-main-nav-tab monsterinsights-nav-tab monsterinsights-active"> 
  39. </div> 
  40. <div id="monsterinsights-main-tab-tracking" class="monsterinsights-main-nav-tab monsterinsights-nav-tab"> 
  41. </div> 
  42. <!-- 
  43. <div id="monsterinsights-main-tab-status" class="monsterinsights-main-nav-tab monsterinsights-nav-tab"> 
  44. <?php //monsterinsights_settings_status_tab(); ?> 
  45. </div> 
  46. <div id="monsterinsights-main-tab-support" class="monsterinsights-main-nav-tab monsterinsights-nav-tab"> 
  47. <?php //monsterinsights_settings_support_tab(); ?> 
  48. </div> 
  49. --> 
  50. </div> 
  51. <?php