I’m calling $wpdb->prepare()
into a plugin as shown in screenshot.Although the code is running just fine but i’m wondering why phpstorm is giving warnings while wordpress support is enable in phpstorm.
Is there any way to remove these warnings but not hiding them from phpstorm settings?
By defining variable type, i removed all warnings in phpstorm related to
$wpdb
.Thanks @LazyOne