Merge pull request #673 from fklein-lu/remove-home-link

Remove home link from `wp_page_menu()` args.
This commit is contained in:
Konstantin Obenland 2014-12-30 20:21:27 -08:00
commit 3e02659325
1 changed files with 0 additions and 12 deletions

View File

@ -7,18 +7,6 @@
* @package _s * @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. * Adds custom classes to the array of body classes.
* *