Hi,
I want to register some new menu’s, and see this is happening in Roots:
// Register wp_nav_menu() menus (http://codex.wordpress.org/Function_Reference/register_nav_menus)
register_nav_menus(array(
'primary_navigation' => __('Primary Navigation', 'roots'),
));
When I read the codex I expected it to be:
'primary_navigation' => 'Primary Navigation'
but instead it is:
‘primary_navigation’ => __(‘Primary Navigation’, ‘roots’)
What is the difference between those?
Kind regards,
Willem