[wp-trac] [WordPress Trac] #50375: Using post_type_archive_title() does not return the right laebl

WordPress Trac noreply at wordpress.org
Fri Jun 12 16:58:35 UTC 2020


#50375: Using post_type_archive_title()  does not return the right laebl
-----------------------------+-----------------------------
 Reporter:  shamai           |      Owner:  (none)
     Type:  feature request  |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  General          |    Version:  5.4.2
 Severity:  normal           |   Keywords:
  Focuses:                   |
-----------------------------+-----------------------------
 This seems to return the name label of the post type.
 It does not return the archives label.

 Shouldn't it return the archives label?
 $post_type_obj->labels->archives

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/50375>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list