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:
  • 4: .

Description

Retrieves the permalink for a post type archive.

Related Functions

get_post_type_archive_feed_link, get_post_type_archive_template, post_type_archive_title, is_post_type_archive, get_archives_link

Top Google Results

User discussions

wpseek mobile