grunion_menu_alter

The Jetpack by WordPress.com grunion menu alter function.

Description

grunion_menu_alter(); 

Usage

  1. if ( !function_exists( 'grunion_menu_alter' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'jetpack-by-wordpress-com/modules/contact-form/admin.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = grunion_menu_alter(); 
  7.  

Defined (1)

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

/modules/contact-form/admin.php  
  1. function grunion_menu_alter() { 
  2. if( is_rtl() ) { 
  3. wp_enqueue_style( 'grunion-menu-alter', plugins_url( 'css/rtl/menu-alter-rtl.css', __FILE__ ) ); 
  4. } else { 
  5. wp_enqueue_style( 'grunion-menu-alter', plugins_url( 'css/menu-alter.css', __FILE__ ) );