Exchange/it exchange get transactions for product

From IThemes Codex
Jump to: navigation, search

Description

Returns an array of all transactions for a product

Parameters

<?php it_exchange_get_transactions_for_product( $product, $type='objects', $only_cleared_for_delivery=true ); ?>
  • mixed $product the product ID or object
  • string $type do you want an array of ids or an array of objects returned
  • boolen $only_cleared_for_delivery defaults to true. Only return transactions cleared for delivery or return all

History

since 0.4.2

Returns

array

Personal tools
Namespaces
Variants
Actions
iThemes Codex
Codex Navigation
Toolbox