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

Filters the permalink for a page.


Parameters

$link

The page's permalink.

$post_id

The ID of the page.

$sample

Is it a sample permalink.


Source

File: wp-includes/link-template.php

View on GitHub



Changelog

Changelog
Version Description
WP-1.5.0 Introduced.