Core Function
View Source on Trac ↗ stick_post()
stick_post( mixed $post_id ) Makes a post sticky.
Parameters 1 required
| Name / Type | Description |
|---|---|
| $post_id int | Post ID. Required |
Return Value
(void)
No return value description available.
Function Information
Since Version
2.7.0
Source File
wp-includes/post.php
Advertisement