I am unable to delete some rows from wp_options using $wpdb->query:
$wpdb->query($wpdb->prepare("DELETE FORM $wpdb->options WHERE option_name LIKE %s",'_transient_%'));
There is no error and I can’t figure out what the problem is …
Any help will be appreciated.
- The topic ‘Execute query in wordpress’ is closed to new replies.