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

get_saved_searches()

Description

Returns all saved searches in a collection

Parameters

ColumnTypeDefaultDescription
array $collection: ? order by created"
['i'
$collection];
$collection integer

Location

include/collections_functions.php lines 2446 to 2449

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 19th March 2024 04:35 Europe/London time based on the source file dated 15th March 2024 17:00 Europe/London time.