W3cubDocs

/WordPress

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 on Trac

Changelog

Version Description
4.6.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/post_stuck