page_link

Advertisement

Summery Summery

Filters the permalink for a page.

Syntax Syntax

apply_filters( 'page_link', string $link, int $post_id, bool $sample )

Parameters Parameters

$link

(string) The page's permalink.

$post_id

(int) The ID of the page.

$sample

(bool) Is it a sample permalink.

Source Source

File: wp-includes/link-template.php

Advertisement

Changelog Changelog

Changelog
Version Description
1.5.0 Introduced.

Advertisement

Leave a Reply

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