Remove home link from wp_page_menu() args.

This commit is contained in:
Fränk Klein 2014-12-30 14:53:42 +01:00
parent 37d283481f
commit c4f6755f61
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.
* *