You are here

function og_rules_condition_content_is_group_post in Organic groups 6.2

Condition: Content is a group post.

File

includes/og.rules.inc, line 305
Rules integration for the og module.

Code

function og_rules_condition_content_is_group_post($node, $settings) {
  return og_is_group_post_type($node->type);
}