New action for Views Bulk Operations
Here is the way, I found for D7...

/**
 * Implementation of hook_action_info().
 */
function MODULE_action_info() {
   $action = array(
    'MY_ACTION_NAME' =&gt; array(
      'label' =&gt; t('MY ACTION LABEL.'),
      'type' =&gt; 'node',
      'configurable' =&gt; FALSE,
      'triggers' =&gt; array('any'),
    ),
 );
 return $action;
}

/**
 * Action function for MY_ACTION_NAME.
 */
function MY_ACTION_NAME(&amp;$entity, $context = array()) {
  // Your code here.
}


Now just add the action MY ACTION LABEL in VBO list.