Redirect after deleting a node
The Problem
The Solution
In your node_delete hook set the code for$_REQUEST['edit']['destination']
.
Example
function node_delete(&$node) {
$_REQUEST['edit']['destination'] = [redirect path];
}
$_REQUEST['edit']['destination']
.
Example
function node_delete(&$node) {
$_REQUEST['edit']['destination'] = [redirect path];
}