title: What hook to be used for cancelled booking in WooCommerce Bookings?
body: <p>I'm trying to make an SQL query to run upon cancellation of a booking, via a custom plugin, updating custom user meta data. </p>
  
  <p>Here's my code:</p>
  
  <pre><code>function wporg_callback() {
      global $wpdb;
  
      $wpdb-&gt;query("UPDATE usermeta SET meta_value = 15 WHERE umeta_id = 131");
  }
  
  add_action('woocommerce_bookings_cancelled_booking', 'wporg_callback');
  </code></pre>
  
  <p>But It's not working. <br>
  Is there something wrong with the query? Is the right action not being used?</p>
  
  <hr>
  
  <p><strong>Edit</strong> - I Also tried the following without success:</p>
  
  <pre><code>add_action('woocommerce_bookings_cancelled_booking', 'wporg_callback'); 
  function wporg_callback( $booking_id ) { 
      // Add/Update custom user meta data 
      update_user_meta( 2, 'download_credits', 17 ); 
  } 
  </code></pre>