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

The page's permalink.

$post_id

The ID of the page.

$sample

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