get_post_type_archive_link
get_post_type_archive_link ( $post_type )
Parameters:- (string) post_type Post type.
Returns:- (string|false) The post type archive permalink. False if the post type does not exist or does not have an archive.
Defined at:Change Log: - Introduced in WordPress: 3.1.0
- Deprecated in WordPress: —
Description
Retrieves the permalink for a post type archive.