LLMS_Admin_AddOns::get_product_from_cat( string $cat, array $excludes )

Get a random product from a category that doesn’t exist in the list of excluded product ids


Description Description


Parameters Parameters

$cat

(Required) category slug

$excludes

(Required) list of product ids to exclude


Top ↑

Return Return

(array|false)


Top ↑

Source Source

File: includes/admin/class.llms.admin.addons.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
3.22.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.