prefix (WP // config, not user input) and a fixed string literal — never user // controlled, so safe to interpolate; there's no WordPress API for // dropping a plugin's own custom table other than a direct $wpdb query, // and $wpdb->prepare() can't parameterize an identifier like a table name // in any case. No caching applies to a one-time DDL statement. // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery,WordPress.DB.DirectDatabaseQuery.NoCaching,WordPress.DB.DirectDatabaseQuery.SchemaChange,WordPress.DB.PreparedSQL.InterpolatedNotPrepared,PluginCheck.Security.DirectDB.UnescapedDBParameter $wpdb->query( 'DROP TABLE IF EXISTS `' . $wpdb->prefix . 'akantio_pos_stock_syncs`' );