Parse error: syntax error, unexpected ';', expecting '{' in C:\wamp\www\WPDev\wp-content\plugins\menu_example\menuexample.php on line 26
*/
add_action( 'admin_menu', 'boj_menuexample_create_menu' );
function boj_menuexample_create_menu() {
add_menu_page( 'My Plugin Settings Page', 'Menu Example Settings','manage_options', _FILE_, 'boj_menuexample_settings_page', plugins_url( '/images/wp-icon.png', _FILE__));
}
add_action( 'about_menu', 'boj_menuexample_about_page');
function boj_menuexample_about_page(); {
add_submenu_page( _FILE_, 'About My Plugin', 'About', 'manage_options',_FILE_.'_about', boj_menuexample_about_page);
}
add_action( 'uninstall_menu', 'boj_menuexample_uninstall_page');
function boj_menuexample_uninstall_page(); {
add_submenu_page( _FILE_,'Uninstall My Plugin', 'uninstall', 'manage_options',
_FILE_.'_uninstall', boj_menuexample_uninstall_page);
}
?>
[Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum's parser.]
for the life of me cant find this error