Collections functions
General functions
Node functions
Render functions
Theme permission functions
User 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 2469 to 2472

Definition

 
function remove_saved_search($collection,$search)
    {
    
ps_query("delete from collection_savedsearch where collection=? and ref=?",array("i",$collection,"i",$search));
    }

This article was last updated 19th April 2024 19:35 Europe/London time based on the source file dated 19th April 2024 15:45 Europe/London time.