evolve_my_menu_notitle

Remove title attribute from menu.

Description

evolve_my_menu_notitle( $menu ); 

Parameters (1)

0. $menu
The menu.

Usage

  1. if ( !function_exists( 'evolve_my_menu_notitle' ) ) { 
  2. require_once '/library/functions/functions.php'; 
  3.  
  4. // The menu. 
  5. $menu = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = evolve_my_menu_notitle($menu); 
  9.  

Defined (1)

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

/library/functions/functions.php  
  1. function evolve_my_menu_notitle($menu) { 
  2. return $menu = preg_replace('/ title=\"(.*?)\"/', '', $menu);