W3cubDocs

/WordPress

apply_filters( 'post_type_archive_link', string $link, string $post_type )

Filters the post type archive permalink.

Parameters

$link

(string) The post type archive permalink.

$post_type

(string) Post type name.

Source

File: wp-includes/link-template.php

View on Trac

Changelog

Version Description
3.1.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/post_type_archive_link