Skip to content

Commit

Permalink
Merge pull request #673 from fklein-lu/remove-home-link
Browse files Browse the repository at this point in the history
Remove home link from `wp_page_menu()` args.
  • Loading branch information
obenland committed Dec 31, 2014
2 parents 2580a0a + c4f6755 commit 3e02659
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions inc/extras.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,6 @@
* @package _s
*/

/**
* Get our wp_nav_menu() fallback, wp_page_menu(), to show a home link.
*
* @param array $args Configuration arguments.
* @return array
*/
function _s_page_menu_args( $args ) {
$args['show_home'] = true;
return $args;
}
add_filter( 'wp_page_menu_args', '_s_page_menu_args' );

/**
* Adds custom classes to the array of body classes.
*
Expand Down

0 comments on commit 3e02659

Please sign in to comment.