Function:
mp_core_page_menu_args()
Purpose:
Adds a “Home” link to the wp_page_menu() function.
Overview:
If a theme decides not to use the mp_core_link_to_menu_editor() function as a fallback for the wp-nav_menu() function, by default, it will use the wp_page_menu() function. This function, “mp_core_page_menu_args”, will add a “Home” link to that list of pages.
Usage:
This function is automatically hooked and activated by the MP Core plugin when the Theme Specific Scripts have been activated.
Parameters:
An array containing the default $args used in the wp_page_menu() function.
Returns:
Returns an array containing the $args used in the wp_page_menu() function with the show_home’ set to true.