Collections functions
General functions
Render functions
Theme permission functions
User functions
Resource functions

get_saved_searches()

Description

Returns all saved searches in a collection

Parameters

ColumnTypeDefaultDescription
array { return $collection: ? order by created"
['i'
* $collection]; } /**
$collection integer

Location

include/collections_functions.php lines 2450 to 2453

Definition

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

This article was last updated 2nd December 2023 07:35 Europe/London time based on the source file dated 21st November 2023 15:25 Europe/London time.