Below is a description on how to use the classes in the below script
include 'zdb.php';
<?php | |
add_action('admin_menu', 'plugin_admin_add_page'); | |
function plugin_admin_add_page() { | |
//http://codex.wordpress.org/Function_Reference/add_menu_page | |
add_menu_page( 'custom menu title', 'custom menu', 'manage_options', 'dbexplorer/adminpage.php'); | |
} | |
function my_enqueue($hook) { | |
//only for our special plugin admin page | |
if( 'dbexplorer/adminpage.php' != $hook ) |