bp_dtheme_page_menu_args( array $args )

Get our wp_nav_menu() fallback, bp_dtheme_main_nav(), to show a home link.


Description Description

See also See also


Top ↑

Parameters Parameters

$args

(array) (Required) Default values for wp_page_menu()


Top ↑

Source Source

File: bp-themes/bp-default/functions.php

function bp_dtheme_page_menu_args( $args ) {
	$args['show_home'] = true;
	return $args;
}

Top ↑

Changelog Changelog

Changelog
Version Description
BuddyPress (1.5) Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.