title: Adding content after add to cart button on woocommerce single page
body: <p>I have successfully added a content after short description on single product page with </p>
  
  <pre><code>if (!function_exists('my_content')) {
      function my_content( $content ) {
          $content .= '&lt;div class="custom_content"&gt;Custom content!&lt;/div&gt;';
          return $content;
      }
  }
  
  add_filter('woocommerce_short_description', 'my_content', 10, 2);
  </code></pre>
  
  <p>I saw that in <code>short-description.php</code> there was <code>apply_filters( 'woocommerce_short_description', $post-&gt;post_excerpt )</code></p>
  
  <p>so I hooked to that.</p>
  
  <p>In the same way, I'd like to add a content after the add to cart button, so I found <code>do_action( 'woocommerce_before_add_to_cart_button' )</code>, and now I am hooking to <code>woocommerce_before_add_to_cart_button</code>. I'm using</p>
  
  <pre><code>if (!function_exists('my_content_second')) {
      function my_content_second( $content ) {
          $content .= '&lt;div class="second_content"&gt;Other content here!&lt;/div&gt;';
          return $content;
      }
  }
  
  add_action('woocommerce_after_add_to_cart_button', 'my_content_second');
  </code></pre>
  
  <p>But nothing happens. Can I only hook to hooks inside <code>apply_filters</code>? From what I've understood so far by working with hooks is that you only need a hook name to hook to and that's it. The first one was a filter hook, so I used <code>add_filter</code>, and the second one is action hook so I should use <code>add_action</code>, and all should work. So why doesn't it?</p>