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 2373 to 2376

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 2nd October 2022 16:05 Europe/London time based on the source file dated 22nd September 2022 11:00 Europe/London time.