WPDev.one
Core Function
View Source on Trac ↗

sticky_class()

sticky_class( mixed $post_id = null )

Display "sticky" CSS class, if a post is sticky.

Parameters 0 required

Name / Type Description
$post_id
int

An optional post ID.

Return Value

(void)
No return value description available.

Function Information

Since Version
2.7.0
Source File
wp-includes/deprecated.php
Advertisement