Support » Plugins » Execute query in wordpress

  • Resolved Alin Marcu

    (@deconf)


    Hi,

    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.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Execute query in wordpress’ is closed to new replies.