Filters the sample permalink.
Parameters
$permalinkarray- Array containing the sample permalink with placeholder for the post name, and the post name.
0stringThe permalink with placeholder for the post name.1stringThe post name.
$post_idint- Post ID.
$titlestring- Post title.
$namestring- Post name (slug).
$postWP_Post- Post object.
Source
return apply_filters( 'get_sample_permalink', $permalink, $post->ID, $title, $name, $post );
Changelog
| Version | Description |
|---|---|
| 4.4.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.