post_unstuck WordPress Action Hook
The post_unstuck Wordpress hook allows you to take action when a post is unstuck. This can be useful for cleaning up after a user has made a mistake, or for taking action when a post is no longer needed.
do_action( 'post_unstuck', int $post_id ) #
Fires once a post has been removed from the sticky list.
Parameters
- $post_id
(int)ID of the post that was unstuck.
Source
File: wp-includes/post.php
Changelog
Version | Description |
---|---|
4.6.0 | Introduced. |