I am making a custom author.php
file in wordpress and showing post there but thing is it is also showing translated data too, like my web is in Enligsh and it is translated in Chinese how can i specify the between post which one
is English which is Chinese.
i'm using it
$courses = get_posts([
"post_type" => "lp_course",
"numberposts" => "-1",
"author" => $guru->ID
]);
echo '<pre>';
print_r($courses);
echo '</pre>';