node_delete

5 node.module node_delete($nid)
6 node.module node_delete($nid)
7 node.module node_delete($nid)
8 node.module node_delete($nid)

Delete a node.

Parameters

$nid: A node ID.

9 calls to node_delete()

4 string references to 'node_delete'

File

modules/node/node.module, line 1181
The core that allows content to be submitted to the site. Modules and scripts may programmatically submit nodes using the usual form API pattern.

Code

function node_delete($nid) {
  node_delete_multiple(array($nid));
}
Login or register to post comments