optionsframework_add_page

Add a subpage called "Theme Options" to the appearance menu.

Description

optionsframework_add_page(); 

Usage

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

Defined (1)

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

/inc/options-framework.php  
  1. function optionsframework_add_page() { 
  2.  
  3. $of_page = add_theme_page( $menu['page_title'], $menu['menu_title'], $menu['capability'], $menu['menu_slug'], $menu['callback'] ); 
  4.  
  5. // Load the required CSS and javscript