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 '/admin/options-framework/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).

/admin/options-framework/options-framework.php  
  1. function optionsframework_add_page() { 
  2. $of_page = add_theme_page(__('Theme Options', 'options_framework_theme'), __('Theme Options', 'options_framework_theme'), 'edit_theme_options', 'options-framework', 'optionsframework_page'); 
  3.  
  4. // Load the required CSS and javscript