monsterinsights_menu_icon_css

The Google Analytics for WordPress by MonsterInsights monsterinsights menu icon css function.

Description

monsterinsights_menu_icon_css(); 

Usage

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

Defined (1)

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

/includes/admin/admin.php  
  1. function monsterinsights_menu_icon_css() { 
  2. // Force correct sizing for retina vs non-retina display 
  3. ?> 
  4. <style type="text/css"> 
  5. #toplevel_page_monsterinsights_dashboard .wp-menu-image img,  
  6. #toplevel_page_monsterinsights_settings .wp-menu-image img,  
  7. #toplevel_page_monsterinsights_network .wp-menu-image img {  
  8. width: 18px;  
  9. height: 18px; 
  10. padding-top: 7px; 
  11. </style> 
  12. <?php