[wp-hackers] Effekt in menu with 1 plugin, 2 pages in menu and 1 php-file

Frank Bueltge frank at bueltge.de
Thu Dec 11 12:35:59 GMT 2008


i have write a plugin, since version 1.5 of WordPress.
I use two hooks in one file.

add_submenu_page('index.php', __('FeedStats', 'feedstats'),
__('FeedStats', 'feedstats'), get_option('fs_user_level'), __FILE__,
add_options_page(__('Settings FeedStats', 'feedstats'),
__('FeedStats', 'feedstats'), 9, __FILE__,

When i use the page on the dashbaord-menu, than is also aktive the
menu-point for options.

It is possible to change this. How is the function for the effekt on
the menu to oben the options or other menu-points.


More information about the wp-hackers mailing list