Collections functions
General functions
Render functions
Theme permission functions
Resource functions

get_saved_searches()

Description

Returns all saved searches in a collection

Parameters

ColumnTypeDefaultDescription
$collection integer

Return

void

Location

include/collections_functions.php lines 2429 to 2432

Definition

 
function get_saved_searches($collection)
    {
    return 
ps_query("select " columns_in("collection_savedsearch") . " from collection_savedsearch where collection= ? order by created", ['i'$collection]);
    }

This article was last updated 7th February 2023 10:35 Europe/London time based on the source file dated 1st February 2023 15:00 Europe/London time.