Filters the permalink for a page.
Parameters
$link
string- The page’s permalink.
$post_id
int- The ID of the page.
$sample
bool- Is it a sample permalink.
Source
return apply_filters( 'page_link', $link, $post->ID, $sample );
Changelog
Version | Description |
---|---|
1.5.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.