function rules_condition_content_is_sticky in Rules 6
Condition: Check if the node is sticky
Related topics
File
- rules/
modules/ node.rules.inc, line 151 - rules integration for the node module
Code
function rules_condition_content_is_sticky(&$node, $settings) {
return $node->sticky == 1;
}