_get_page_link

Advertisement

Summery Summery

Filters the permalink for a non-page_on_front page.

Syntax Syntax

apply_filters( '_get_page_link', string $link, int $post_id )

Parameters Parameters

$link

(string) The page's permalink.

$post_id

(int) The ID of the page.

Source Source

File: wp-includes/link-template.php

Advertisement

Changelog Changelog

Changelog
Version Description
2.1.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.