Collections functions
General functions
Render functions
Theme permission functions
Resource functions

delete_node()

Description

Delete node

Parameters

ColumnTypeDefaultDescription
$ref integer ID of the node

Return

void

Location

include/node_functions.php lines 184 to 196

Definition

 
function delete_node($ref)
    {
    if(
is_parent_node($ref))
        {
        return;
        }

    
ps_query("DELETE FROM node WHERE ref = ?",array("i",$ref));

    
remove_all_node_keyword_mappings($ref);

    return;
    }

This article was last updated 7th February 2023 11:35 Europe/London time based on the source file dated 2nd February 2023 09:20 Europe/London time.