Filters the permalink for a non-page_on_front page.
$linkstring$post_idintwp-includes/link-template.php:456_get_page_link()<?php * * @since 2.1.0 * * @param string $link The page's permalink. * @param int $post_id The ID of the page. */ return apply_filters( '_get_page_link', $link, $post->ID );} /** * Retrieves the permalink for an attachment. * * This can be used in the WordPress Loop or outside of it.Introduced in 2.1.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.