register_otw_carbon_menu

The Carbon Light - Business responsive register otw carbon menu function.

Description

register_otw_carbon_menu(); 

Usage

  1. if ( !function_exists( 'register_otw_carbon_menu' ) ) { 
  2. require_once '/functions.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = register_otw_carbon_menu(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/functions.php  
  1. function register_otw_carbon_menu() { 
  2. register_nav_menus(array( // Using array to specify more menus if needed 
  3. 'primary' => __('Primary Menu', 'otw-carbon-light'), // Main Navigation 
  4. 'secondary' => __('Footer Menu', 'otw-carbon-light') // Second Navigation 
  5. ));