query( "DROP TABLE IF EXISTS {$wpdb->prefix}statbird_customers, {$wpdb->prefix}statbird_changes" ); $wpdb->query( $wpdb->prepare( "DELETE FROM {$wpdb->options} WHERE option_name LIKE %s OR option_name LIKE %s OR option_name LIKE %s", $wpdb->esc_like( 'statbird_' ) . '%', $wpdb->esc_like( '_transient_statbird_' ) . '%', $wpdb->esc_like( '_transient_timeout_statbird_' ) . '%' ) ); // phpcs:enable wp_cache_delete( 'alloptions', 'options' ); wp_cache_flush_group( 'statbird' ); if ( function_exists( 'as_unschedule_all_actions' ) ) { as_unschedule_all_actions( '', array(), 'statbird' ); }