function og_post_node in Organic groups 7.2
Same name in this branch
- 7.2 scripts/generate-og-d6-content.php \og_post_node()
- 7.2 og_ui/scripts/generate-og-ui-d6-content.php \og_post_node()
Same name and namespace in other branches
- 7 scripts/generate-og-d6-content.php \og_post_node()
- 7 og_ui/scripts/generate-og-ui-d6-content.php \og_post_node()
Create a group post.
2 string references to 'og_post_node'
- generate-og-d6-content.php in scripts/
generate-og-d6-content.php - generate-og-ui-d6-content.php in og_ui/
scripts/ generate-og-ui-d6-content.php
File
- og_ui/
scripts/ generate-og-ui-d6-content.php, line 155
Code
function og_post_node($values = array()) {
$node = (object) $values;
$node->type = 'test_post_group';
node_save($node);
return $node->nid;
}