I am not understandinhg $wpdb->prepare correctly
I have a query that runs fine in raw PHP but I cannot run using $wpdb. I seem to be missing something in the advice provided at How do you properly prepare a %LIKE% SQL statement? My code is global $wpdb; // Create a SQL statement with placeholders for the string input. $sql3 = “SELECT … Read more