wordpress / latest / hooks / post_stuck.html

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 );

Used By

Used By Description

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