node_unpublish_by_keyword_action
function node_unpublish_by_keyword_action
node_unpublish_by_keyword_action($node, $context)
Unpublishes a node containing certain keywords.
Parameters
$node: A node object to modify.
$context: Array with the following elements:
- 'keywords': Array of keywords. If any keyword is present in the rendered node, the node's status flag is set to unpublished.
Related topics
File
- modules/node/登录查看完整内容