Filter hook 'page_link'

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

Description

Filters the permalink for a page.

Occurrences

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

Parameters

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

PHP Doc

/**
	 * Filters the permalink for a page.
	 *
	 * @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.
	 */