Exchange/it exchange filter addons by category

From IThemes Codex
Revision as of 09:52, June 13, 2013 by Gaarai (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Description

Takes an array of add-ons and filters by passed category

History

Since 0.3.0

Parameters

<?php it_exchange_filter_addons_by_category( $add_ons, $categories ); ?>
  • array $add_ons an array of add-ons formatted like $GLOBALS['it_exchange']['add_ons'] array
  • array $categories contains categories we want filters: array( 'cat1', 'cat2', 'etc' );

Returns

array Filtered add-ons

Personal tools
Namespaces
Variants
Actions
iThemes Codex
Codex Navigation
Toolbox