New Plugin Icon in WordPress 2.7
If you are a WordPress plugin Developer then you most likely have used the "add_menu_page" function before. With WordPress 2.7 you can now add an icon to your plugin to be shown in the new side menu in the admin area.
-
add_menu_page( $page_title, $menu_title, $access_level, $file, $function = '', $icon_url = '' )
So in PhotoXhibit's case, I did the following:
-
add_menu_page('PhotoXhibit','PhotoXhibit', 7, $bp, array(&$this, 'showLandingPage'), $this->imgBaseUrl.'lphoto.png');
And I get:
![]()



1. Stephen Robert Rider