Here is my external link menu function for admin area:
##CACHE MENU
add_action('admin_menu', 'mariCacheDel');
function mariCacheDel() {
global $submenu;
$url = get_bloginfo('wpurl').'/cache/?do=deleteAll';
$submenu['themes.php'][] = array('MARIA CACHE', 'manage_options', $url);
}
How can we open a _blank
browser window with this link?
It has to be with jQuery and using a small trick in the
admin_menu
to insert a target div with an ID: