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

Filters the permalink for a page.


Parameters

$link string
The page's permalink.
$post_id int
The ID of the page.
$sample bool
Is it a sample permalink.

Top ↑

Source

File: wp-includes/link-template.php. View all references

return apply_filters( 'page_link', $link, $post->ID, $sample );


Top ↑

Changelog

Changelog
Version Description
1.5.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.