How to handle a post before publishing?

You need this filter:

function add_myself($content){
    return $content." myself";
}
add_filter('content_save_pre','add_myself');

Found the answer here: https://stackoverflow.com/a/4147860/982517