skt_black_page_menu_args

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

Description

skt_black_page_menu_args( $args ); 

Parameters (1)

0. $args
The args.

Usage

  1. if ( !function_exists( 'skt_black_page_menu_args' ) ) { 
  2. require_once '/inc/extras.php'; 
  3.  
  4. // The args. 
  5. $args = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = skt_black_page_menu_args($args); 
  9.  

Defined (1)

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

/inc/extras.php  
  1. function skt_black_page_menu_args( $args ) { 
  2. $args['show_home'] = true; 
  3. return $args;