Add item to WordPress menu

<?php

function hyp_add_menu_item($items,$args){
if($args->theme_location == 'primary'){
$items .= '<li><a href="http://hyperspatial.com">hyperspatial.com</a></li>';
}
return $items;
}
add_filter('wp_nav_menu_items','hyp_add_menu_item',10,2);

?>

Add Admin Bar Items

<?php

/* Rating Menu Item */
function psra_admin_bar_render(){
global $wp_admin_bar;
$wp_admin_bar->add_menu( array(
'parent' => 'ps_admin_menu', // use 'false' for a root menu, or pass the ID of the parent menu
'id' => 'psra_ratings', // link ID, defaults to a sanitized title value
'title' => __('Ratings'), // link title
'href' => admin_url('edit.php?post_type=ps_rating'), // name of file
'meta' => false // array of any of the following options: array( 'html' => '', 'class' => '', 'onclick' => '', target => '', title => '' );
));
$wp_admin_bar->add_menu( array(
'parent' => 'ps_admin_menu', // use 'false' for a root menu, or pass the ID of the parent menu
'id' => 'psra_new_rating', // link ID, defaults to a sanitized title value
'title' => __('New Rating'), // link title
'href' => 'http://provensystems.com/blog/ps-new-rating/', // name of file
'meta' => false // array of any of the following options: array( 'html' => '', 'class' => '', 'onclick' => '', target => '', title => '' );
));
}

add_action('wp_before_admin_bar_render','psra_admin_bar_render');

?>

Add class to GF submit button

<?php
function form_submit_button($button,$form){
return '<input type="submit" class="btn" id="gform_submit_button_' . $form['id'] . '" value="' . $form['button']['text'] . '">';
}
add_filter('gform_submit_button','form_submit_button',10,2);
?>