Exchange/it exchange product has feature

From IThemes Codex
Jump to: navigation, search

Description

Check if a given product has a specific feature

History

Since 0.3.8

Parameters

<?php it_exchange_product_has_feature( $product_id, $feature_key, $options=array() ); ?>
  • integer $product_id the WordPress post ID for the product
  • string $feature_key the slug for the feature
  • array $options

Returns

boolean

Personal tools
Namespaces
Variants
Actions
iThemes Codex
Codex Navigation
Toolbox