Viewing 1 replies (of 1 total)
  • Plugin Author piffpaffpuff

    (@chabis)

    you need to get the post type object:

    $links = get_related_links();
    foreach($links as $link)
    {
      $type_object = get_post_type_object($link['type']);
      echo $type_object->labels->singular_name;
    }
Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Related Links] show Label instead of type’ is closed to new replies.