remove_header_menu

The SKT Pathway remove header menu function.

Description

remove_header_menu(); 

Usage

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

Defined (1)

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

/functions.php  
  1. function remove_header_menu() { 
  2. remove_submenu_page( 'themes.php', 'custom-header' );