Exchange/it exchange get product feature

From IThemes Codex
(Difference between revisions)
Jump to: navigation, search
 
Line 1: Line 1:
it_exchange_get_product_feature( $product_id, $feature_key, $options=array() )
+
__NOTOC__
 +
== Description ==
  
 
Get the value for a feature of a specific product
 
Get the value for a feature of a specific product
  
 +
== History ==
  
@since 0.3.8
+
Since 0.3.8
  
@param integer $product_id the WordPress post ID for the product
+
== Parameters ==
  
@param string $feature_key the slug for the feature
+
<pre><?php it_exchange_get_product_feature( $product_id, $feature_key, $options=array() ); ?></pre>
  
@param array $options
+
* integer $product_id the WordPress post ID for the product
 +
* string $feature_key the slug for the feature
 +
* array $options
  
@return mixed the value of the feature
+
== Returns ==
  
 +
mixed the value of the feature
  
 
[[Category:Exchange/todo]]
 
[[Category:Exchange/todo]]

Latest revision as of 09:53, June 13, 2013

Description

Get the value for a feature of a specific product

History

Since 0.3.8

Parameters

<?php it_exchange_get_product_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

mixed the value of the feature

Personal tools
Namespaces
Variants
Actions
iThemes Codex
Codex Navigation
Toolbox