You are here

function hook_nodewords_delete_tags in Nodewords: D6 Meta Tags 6.2

Notifies modules when meta tags are deleted.

Parameters

$options.: An array of options that allows to identify the meta tags being deleted.

1 function implements hook_nodewords_delete_tags()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

nodewords_custom_pages_nodewords_delete_tags in nodewords_custom_pages/includes/nodewords_custom_pages.nodewords.hooks.inc
Implements hook_nodewords_delete_tags().
3 invocations of hook_nodewords_delete_tags()
nodewords_admin_mass_update in nodewords_admin/nodewords_admin.module
Delete the nodes meta tags.
nodewords_delete_tags in ./nodewords.module
Delete tags from table.
_nodewords_admin_mass_delete_batch_process in nodewords_admin/nodewords_admin.admin.inc

File

./nodewords.api.php, line 53
. Nodewords hooks.

Code

function hook_nodewords_delete_tags($options) {
  if ($options['type'] == NODEWORDS_TYPE_PAGE) {
    db_query("DELETE FROM {nodewords_custom} WHERE pid = '%s'", $options['id']);
  }
}