postmeta where left(meta_value, 6) = 'wpAjax'"; $wpdb->query($sql); $sql = "delete from $wpdb->posts where post_type = 'ajax_edit_comments'"; $wpdb->query($sql); delete_option('WPAjaxEditAuthoruserOptions'); delete_option('WPAjaxEditComments20'); ?>