monsterinsights_tools_page

Callback to output the MonsterInsights settings page.

Description

monsterinsights_tools_page(); 

Usage

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

Defined (1)

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

/includes/admin/pages/tools.php  
  1. function monsterinsights_tools_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-tools-page-main-nav" class="monsterinsights-main-nav-container monsterinsights-nav-container" data-container="#monsterinsights-tools-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-url-builder" title="<?php echo esc_attr( __( 'Campaign URL Builder', 'google-analytics-for-wordpress' ) ); ?>"> 
  17. <?php echo esc_html__( 'URL Builder', 'google-analytics-for-wordpress' ); ?> 
  18. </a> 
  19.  
  20. <a class="monsterinsights-main-nav-item monsterinsights-nav-item" href="#monsterinsights-main-tab-settings" title="<?php echo esc_attr( __( 'Settings', 'google-analytics-for-wordpress' ) ); ?>"> 
  21. <?php echo esc_html__( 'Settings', 'google-analytics-for-wordpress' ); ?> 
  22. </a> 
  23. </h1> 
  24.  
  25.  
  26. <!-- Tab Panels --> 
  27. <div id="monsterinsights-tools-pages" class="monsterinsights-main-nav-tabs monsterinsights-nav-tabs wrap" data-navigation="#monsterinsights-tools-page-main-nav"> 
  28. <h1 class="monsterinsights-hideme"></h1><!-- sowpnotices are below the nav bar --> 
  29. <div id="monsterinsights-main-tab-url-builder" class="monsterinsights-main-nav-tab monsterinsights-nav-tab monsterinsights-active"> 
  30. </div> 
  31. <div id="monsterinsights-main-tab-settings" class="monsterinsights-main-nav-tab monsterinsights-nav-tab"> 
  32. </div> 
  33. </div> 
  34. <?php