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
if ( !function_exists( 'gl_add_admin_menus' ) ) { require_once '/admin/pages.php'; } // NOTICE! Understand what this does before running. $result = gl_add_admin_menus();
Defined (1)
The function is defined in the following location(s).
- /admin/pages.php
- function gl_add_admin_menus( ) {
- add_options_page( 'Google Locker', 'Google Locker', 'manage_options', gl_get_plugin_options_key(), 'gl_plugin_options_page' );
- }