do_action( 'post_stuck', int $post_id )
Fires once a post has been added to the sticky list.
Parameters
-
$post_id
int -
ID of the post that was stuck.
Source
File: wp-includes/post.php
.
View all references
do_action( 'post_stuck', $post_id );
Changelog
Version | Description |
---|---|
4.6.0 | Introduced. |