(1) The Edit Permalink HTML including the View-Post button is passed through the get_sample_permalink_html
filter. You will likely have to preg_replace()
the view post button out of it:
function my_get_sample_permalink_html($a){
return preg_replace("/<span id='view-post-btn'>(.*)<\/span>/",'',$a);
}
add_filter('get_sample_permalink_html','my_get_sample_permalink_html');
(2) The message after a post has been updated can be altered by filtering post_updated_messages
. Like this:
function my_post_updated_messages( $messages ) {
$messages['post'][1] = __('Post updated');
return $messages;
}
add_filter('post_updated_messages','my_post_updated_messages');