public/wordpress/wp-content/plugins/h5p/admin/class-h5p-plugin-admin.php
/**
   * Remove user data and results when user is removed.
   *
   * @since 1.5.0
   */
Remove user data and results when user is removed.
Remove user data and results when user is removed .
public function deleted_user($id) {
    global $wpdb;
    $wpdb->delete($wpdb->prefix . 'h5p_results', array('user_id' => $id), array('%d'));
    $wpdb->delete($wpdb->prefix . 'h5p_contents_user_data', array('user_id' => $id), array('%d'));
  }
public function deleted_user ( $ id ) { global $ wpdb ; $ wpdb -> delete ( $ wpdb -> prefix . 'h5p_results' , array ( 'user_id' => $ id ) , array ( '%d' ) ) ; $ wpdb -> delete ( $ wpdb -> prefix . 'h5p_contents_user_data' , array ( 'user_id' => $ id ) , array ( '%d' ) ) ; }
Remove user data and results when user is removed.
Remove user data and results when user is removed .
// Remove user scores/results // Remove contents user/usage data