On this page
do_action( 'post_stuck', int $post_id )
Fires once a post has been added to the sticky list.
Parameters
$post_idint-
ID of the post that was stuck.
Source
File: wp-includes/post.php. View all references
do_action( 'post_stuck', $post_id );
Related
Used By
| Used By | Description |
|---|---|
| stick_post() wp-includes/post.php | Makes a post sticky. |
Changelog
| Version | Description |
|---|---|
| 4.6.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/post_stuck