post_type_archive_link

Advertisement

Summery Summery

Filters the post type archive permalink.

Syntax Syntax

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

Parameters Parameters

$link

(string) The post type archive permalink.

$post_type

(string) Post type name.

Source Source

File: wp-includes/link-template.php

Advertisement

Changelog Changelog

Changelog
Version Description
3.1.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.