Collections functions
Encryption functions
General functions
Render functions
Theme permission functions
Video functions
Resource functions

remove_saved_search()

Description

Remove a saved search from a collection

Parameters

ColumnTypeDefaultDescription
$collection integer
$search integer

Return

void

Location

include/collections_functions.php lines 1750 to 1753

Definition

 
function remove_saved_search($collection,$search)
    {
    
sql_query("delete from collection_savedsearch where collection='" escape_check($collection) . "' and ref='" escape_check($search) . "'");
    }

This article was last updated 24th November 2020 20:35 Europe/London time based on the source file dated 23rd November 2020 16:00 Europe/London time.