Filters the permalink for a non-page_on_front page.
Parameters
$linkstring- The page’s permalink.
$post_idint- The ID of the page.
Source
return apply_filters( '_get_page_link', $link, $post->ID );
Changelog
| Version | Description |
|---|---|
| 2.1.0 | Introduced. |
Filters the permalink for a non-page_on_front page.
$linkstring$post_idintreturn apply_filters( '_get_page_link', $link, $post->ID );
| Version | Description |
|---|---|
| 2.1.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.