as per title I need to use LIKE operator to delete a row on db programmatically with $wpdb.
I wanna use
$wpdb->delete to remove an occurrency but I don't know how to set the
LIKE operator because in
WHERE it requires an array that assign a single value or another array.
I ask you if this syntax is correct.
$wpdb->delete('wp_posts', array('post_type' => 'flamingo_inbound', 'post_content' => '%'.$mail.'%'));
Thanks in advance