WordPress at a glance
filter is not described

page_link filter-hook . WP 1.5.0

Filters the permalink for a page.


add_filter( 'page_link', 'filter_function_name_230', 10, 3 );
function filter_function_name_230( $link, $post_id, $sample ){
	// filter...

	return $link;
The page's permalink.
The ID of the page.
Is it a sample permalink.

Where the hook is called

wp-includes/link-template.php 347
return apply_filters( 'page_link', $link, $post->ID, $sample );

Where the hook is used (in WP core)

Использование не найдено.