Bu cevap, konu sahibi tarafından kabul edilebilir bir cevap olarak işaretlendi.
$post_id=get_the_ID();
denemen lazım. functionu tam olarak nereden çağırıyor bilemediğim için
echo$output= GPUR_Comments_Form::gpur_display_rating_summary( get_the_ID());