optionsframework_adminbar

Add Theme Options menu item to Admin Bar.

Description

optionsframework_adminbar(); 

Usage

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

Defined (1)

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

/inc/options-framework.php  
  1. function optionsframework_adminbar() { 
  2.  
  3. global $wp_admin_bar; 
  4.  
  5. $wp_admin_bar->add_menu( array( 
  6. 'parent' => 'appearance',  
  7. 'id' => 'of_theme_options',  
  8. 'title' => __( 'SKT Parallax Me Settings', 'options_framework_theme' ),  
  9. 'href' => admin_url( 'themes.php?page=skt_parallaxme-options' ) 
  10. ));