Fires once a post has been added to the sticky list.
Parameters
$post_idint- ID of the post that was stuck.
Source
do_action( 'post_stuck', $post_id );
Changelog
| Version | Description |
|---|---|
| 4.6.0 | Introduced. |
Fires once a post has been added to the sticky list.
$post_idintdo_action( 'post_stuck', $post_id );
| Version | Description |
|---|---|
| 4.6.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.