monsterinsights_addons_page

Callback to output the MonsterInsights addons page.

Description

monsterinsights_addons_page(); 

Usage

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

Defined (1)

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

/includes/admin/pages/addons.php  
  1. function monsterinsights_addons_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. <div id="monsterinsights-addon-heading" class="monsterinsights-addons-subheading monsterinsights-clearfix-after"> 
  12. <h1><?php esc_html_e( 'MonsterInsights Addons', 'google-analytics-for-wordpress' ); ?></h1> 
  13. <form id="add-on-search"> 
  14. <span class="spinner"></span> 
  15. <input id="add-on-searchbox" name="monsterinsights-addon-search" value="" placeholder="<?php esc_attr_e( 'Search MI Addons', 'google-analytics-for-wordpress' ); ?>" /> 
  16. <select id="monsterinsights-filter-select"> 
  17. <option value="asc"><?php esc_html_e( 'Sort Ascending (A-Z)', 'google-analytics-for-wordpress' ); ?></option> 
  18. <option value="desc"><?php esc_html_e( 'Sort Descending (Z-A)', 'google-analytics-for-wordpress' ); ?></option> 
  19. </select> 
  20. </form> 
  21. </div> 
  22. <div id="monsterinsights-addons" class="wrap"> 
  23. <div class="monsterinsights-clear"> 
  24. <?php 
  25. /**  
  26. * Developer Alert: 
  27. * Per the README, this is considered an internal hook and should 
  28. * not be used by other developers. This hook's behavior may be modified 
  29. * or the hook may be removed at any time, without warning. 
  30. */ 
  31. ?> 
  32. <?php do_action( 'monsterinsights_addons_section' ); ?> 
  33. </div> 
  34. </div> 
  35. <?php 
  36.