This is what you are looking for get_post_type_archive_link( $post_type );
Related Posts:
- Add extra parameters after permalink?
- Where, When, & How to Properly Flush Rewrite Rules Within the Scope of a Plugin?
- Permalink Structure for Multiple Post Type Archives by Taxonomy
- Remove slug in taxonomy url
- Taxonomy, Terms, and Template Files
- Meta_Query as a way how to setup CPT permalinks – is it a good thing?
- Custom post type permalink is doesn’t show in admin
- custom post type and custom taxonomy permalink
- Adding meta values to permalink
- Hierachical Custom post types permalinks not working
- Custom Posttype Inheritance (and url structure)
- Custom Post Type Permalink For Parent/Child, 404 Page Not Found Error
- Can you have two CPTs with the same permalink structure?
- Rewrite permalinks for custom posttype and custom taxonomy
- How to check if last uri segment is a custom post type or taxonomy term?
- Custom taxonomy & post slug permalink
- Remove base slug in CPT & CT, use CT in permalink
- how to use two permalinks for one custom post type
- Custom Taxonomy List links being re-written
- Custom Post Types, Custom Taxonomies and Permalinks ?
- What is better: Custom Fields vs Custom Taxonomies with Terms for perfomance, scalability and better user experience
- Custom Permalink Tag breaks Pagination
- Custom Permalink with Dynamic Taxonomy for Custom Post Type – Works, but breaks other permalinks
- Custom post type hierarchical permalinks not behaving as expected for parent/child pages
- Extend the wp_get_archives output with ‘?post_type=foo’?
- removing custom tax & CPT slug, adding taxonomy term in front of custom type
- Custom post type and taxonomy permalinks – Structure
- Custom Post Type and Custom Taxonomy Permalinks
- How to remove custom post type name from base url?
- How do I prefix blog post urls as mysite.com/blog/%postname%/ but allow authors to still be located at mysite.com/authors/%nicename%?
- Automaticly add slug to posts
- Different permalink for CPT and regular Posts/Pages but why?
- Custom post type, permalinks & pagination, going wrong
- Custom post type template and custom post page not working
- Permalink Structure CPT With Custom Taxonomy Fails
- Bizarre Permalinks Issue: 404 Errors Everywhere
- Custom post type permalinks
- Making a custom help center page
- How to hook custom taxonomies to custom post types and make the permalinks work?
- WordPress Custom Post Type Repeated 404 Errors
- Child post with numeric only slug keeps redirecting to parent
- Can’t get custom rewrite tag, query var, permastruct (permalink structure), and rewrite rule to work properly together
- WordPress custom post type permalink rewrite shows page not found
- Using taxonomy term in CPT permalink – Pages 404’s
- Removing custom post type slug from URL
- Customize Custom Post Type URL
- Remove CPT name from permalink but add %category% instead
- How to have this permalink structure: post_type/postname/custom_inner_page
- Additional section in custom post type permalink
- Custom post type archive pagination 404
- Custom post type, permalinks, taxonomies and blog posts
- Custom post type permalink returns 404
- Use the same date-based permalink structure for all post types
- “Post name” permalink returns home page for custom posts
- How to make permalink structure %category%/%postname%/ work for custom post type?
- Rewrite rule for Custom post type Monthly and Yearly archive
- menu link to custom post_type?
- Custom permalink with child taxonomy terms
- How do you create %post_type%/%postname%/ permalink structure?
- Problems with 404, .htaccess, permalinks and WordPress custom posts locally on Snow Leopard
- Can variables be used to rewrite a Custom Post Type permalink? [duplicate]
- Set parent for custom post type archive rewrite url
- How to rewrite the beginning and end of the permalink structure in a custom post type?
- How to get all posts related to particular category name on button click?
- WordPress custom permalink and archive link for custom post type
- Custom Post Type Archive template not being called
- How to setup a permalink structure for a custom post type
- add_query_arg() for custom post type on all visible links
- Add unique ID number to end of permalink
- WordPress custom posts and permalinks
- Custom post type, permalink, add query variables problem
- CPT permalinks Rewrite
- Custom Permalink For Custom Post Type – Working Fine But Broken For Pagination
- How to keep WP from creating a “single-post” page and let the user input the link of the post in the dashboard?
- Modify category permalink to use post type slug
- CPT relations use in permalinks under single post type
- CPT relations use in permalinks under single post type
- Custom Post Type Single Page and Archive Page redirects to Home Page
- How can I get custom post types to recognize pretty permalink variables?
- How to change URL structure for custom post type in wordpress? Custom taxonomy + custom Post name [duplicate]
- hierarchical Custom post type child permalink not found
- Remove CPT Slug with 2 taxonomies and 1 post meta
- Allow duplicate permalinks slugs for custom posts by different authors
- Creating custom post type relationships
- Change wordpress url permalink structure to show authors posts
- Custom Post type and Taxonomy in post URL error
- Custom Post Type + Category archive
- Multiple Custom Post Type permalink issue
- Custom Post Types and rewrite rules – One CPT works and a cloned one doesn’t
- How to retrieve the permalink for a specific (custom) term?
- Permalink clashing with Custom Post Type rewrite rule
- What is the proper way implement a global $wp_rewrite?
- How can you preserve URLs when moving posts to a custom post type?
- Custom post types not using archive structure
- Single and Archive Pages with Custom Post Type
- Custom post type and category permalinks
- 404 Error On Custom Taxonomy Pages 2, 3, etc
- What is the best way to relate different custom post types?
- Modify permalink of CPT archive to support two taxonomies
- Allow child pages with the same base as the CPT slug