WordPress.org

Make WordPress Core

Opened 6 months ago

Last modified 6 months ago

#50375 new feature request

Using post_type_archive_title() does not return the right laebl

Reported by: shamai Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.4.2
Component: General Keywords:
Focuses: Cc:

Description

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

Change History (1)

#1 @arpitgshah
6 months ago

Hey,

Can you please share your screenshot for what you are looking to return with this function code?

I am new with this core and finding first bug to resolve the issues and help the core of WordPress team.

Please guide me what you are looking for to resolved.

Thanks,
Arpit G Shah

Note: See TracTickets for help on using tickets.