gl_add_admin_menus

Called during admin_menu, adds an options page under Settings called Google Locker, rendered using the gl_plugin_options_page method.

Description

gl_add_admin_menus(); 

Usage

  1. if ( !function_exists( 'gl_add_admin_menus' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'google-locker-for-wordpress/admin/pages.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = gl_add_admin_menus(); 
  7.  

Defined (1)

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

/admin/pages.php  
  1. function gl_add_admin_menus( ) { 
  2. add_options_page( 'Google Locker', 'Google Locker', 'manage_options', gl_get_plugin_options_key(), 'gl_plugin_options_page' );