title: wordpress add_action('save_post', 'my_function) not working
body: <p>I am trying to trigger an even upon saving / updating a post in wordpress... see here:</p>
  
  <pre><code>add_action('save_post', 'generate_location');
  
  function generate_location($post_id) {   
      echo "hey"; 
  }
  </code></pre>
  
  <p>the problem is that its not working... 
  any ideas why? Syntax?</p>