You are here

function shareaholic_node_insert in Share Buttons, Related Posts, Content Analytics - Shareaholic 7.3

Same name and namespace in other branches
  1. 8 includes/node.php \shareaholic_node_insert()

Implements hook_node_insert(). When a node is created, notify CM to scrape its details and clear FB cache

Parameters

$node The node that has been created:

File

includes/node.php, line 56
This file is responsible for containing hooks involving nodes

Code

function shareaholic_node_insert($node) {
  ShareaholicContentSettings::insert($node);
  ShareaholicContentManager::single_page_worker($node);
}