post_unstuck action-hookWP 4.6.0

Fires once a post has been removed from the sticky list.

Usage

add_action( 'post_unstuck', 'wp_kama_post_unstuck_action' );

/**
 * Function for `post_unstuck` action-hook.
 * 
 * @param int $post_id ID of the post that was unstuck.
 *
 * @return void
 */
function wp_kama_post_unstuck_action( $post_id ){

	// action...
}
$post_id(int)
ID of the post that was unstuck.

Changelog

Since 4.6.0 Introduced.

Where the hook is called

unstick_post()
post_unstuck
wp-includes/post.php 3070
do_action( 'post_unstuck', $post_id );

Where the hook is used in WordPress

Usage not found.