I have problem with filtering post with tax query.
I have a custom taxonomy called 'actors' and example of the slug is 'david-hasselhoff'. The problem is the post is found when I search with 'david hasselhof', but not with 'david' or 'hasselhof'.
Here is my code so far
$args = [ 'post_type' => 'movies', 'tax_query' => [ [ 'taxonomy' => 'actors', 'field' => 'slug', 'terms' => $keyword, ] ] ];