i getting custom post by tag - my cod :
$search_videos = array(
'posts_per_page' => -1,
'post_type' => 'videos',
'tag' => $search_query
);
$new_query = new WP_Query( $search_videos );
$search_videos_posts = $new_query->posts;
but by this code just return post that have complet tag but i want return posts if a part of tag word entered , return posts
EXAMPLE when search "akam" that return posts that have "akam" tag BUT by search "aka" (a part of word) ,that return nothing