Filter hook '_get_page_link'

in WP Core File wp-includes/link-template.php at line 456

Description

Filters the permalink for a non-page_on_front page.

Occurrences

Filename Line Number
wp-includes/link-template.php 456

Parameters

Type Name Description
string $link The page's permalink.
int $post_id The ID of the page.

PHP Doc

/**
	 * Filters the permalink for a non-page_on_front page.
	 *
	 * @since 2.1.0
	 *
	 * @param string $link    The page's permalink.
	 * @param int    $post_id The ID of the page.
	 */