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
Changelog
Version | Description |
---|---|
3.1.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/post_type_archive_link