Filters the sample permalink.
$permalinkarray
0 string1 string$post_idint
$titlestring
$namestring
$postWP_Post
return apply_filters( 'get_sample_permalink', $permalink, $post->ID, $title, $name, $post );
| Version | Description |
|---|---|
| 4.4.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/get_sample_permalink