query( $wpdb->prepare( 'DELETE FROM %i WHERE option_name LIKE %s OR option_name LIKE %s OR option_name LIKE %s', $wpdb->options, $wpdb->esc_like( 'fxtr_holds_' ) . '%', $wpdb->esc_like( '_transient_fxtr_' ) . '%', $wpdb->esc_like( '_transient_timeout_fxtr_' ) . '%' ) ); wp_unschedule_hook( 'fxtr_send_reminders' ); wp_unschedule_hook( 'fxtr_gcal_push' ); /* * The capability the plugin gave out. Pages the starter set-up made stay: * by now they are ordinary pages the owner may have edited and linked. */ foreach ( wp_roles()->role_objects as $fxtr_role ) { $fxtr_role->remove_cap( 'fxtr_manage_reservations' ); }