Filters the permalink for a page.
$linkstring$post_idint$sampleboolwp-includes/link-template.php:409get_page_link()<?php * @since 1.5.0 * * @param string $link The page's permalink. * @param int $post_id The ID of the page. * @param bool $sample Is it a sample permalink. */ return apply_filters( 'page_link', $link, $post->ID, $sample );} /** * Retrieves the page permalink. * * Ignores page_on_front. Internal use only.Introduced in 1.5.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.