function add_nav_class($output) {
$output= preg_replace('/<a/', '<a', $output, -1);
return $output;
}
add_filter('wp_nav_menu', 'add_nav_class');
Revisions
- October 2, 2012 @ 13:06:01 [Current Revision] by PeterLugg
- October 2, 2012 @ 13:05:48 by PeterLugg
No comments yet.