Adding a hook to "Place order" button in woocommerce
<p>When the user gets to the checkout, there is a button , the "Place order" button at the bottom of the form. I have been trying to add a hook to this button in woocommerce, but I don't seem to find the correct one, I have tried woocommerce_checkout_place_order... but it doesnt do anything.</p>

<pre><code>function my_function() {
  //write function
}

add_action( "woocommerce_order_status_pending", "my_function");
</code></pre>

<p>Thanks in advance!</p>