Function asa2_collection_exists
Checks if a collection exists.
Example:
if (asa2_collection_exists('my_collection_name')) { // collections exists, do something here }
Parameters summary
string |
$name |
Collection name |
integer |
$excludeId = null |
Optional. ID of a collection that should be excluded from search. |
Return value summary
boolean
|
bool |