Collections functions
General functions
Node functions
Render functions
Theme permission functions
User functions
Resource functions

delete_node_resources()

Description

Delete all resource node relationships for the given node.

Parameters

ColumnTypeDefaultDescription
$node integer The node ID to remove from all resources.

Return

void

Location

include/node_functions.php lines 1625 to 1628

Definition

 
function delete_node_resources(int $node)
    {
    
ps_query("DELETE FROM resource_node WHERE node = ?", array("i"$node));
    }

This article was last updated 23rd July 2024 07:05 Europe/London time based on the source file dated 8th July 2024 10:20 Europe/London time.