Exchange/it exchange add transaction

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

Description

Adds a transaction post_type to WP

History

Since 0.3.3

Parameters

<?php it_exchange_add_transaction( $method, $method_id, $status = 'pending', $customer_id = false, $cart_object, $args = array() ); ?>
  • array $args same args passed to wp_insert_post plus any additional needed
  • object $cart_object passed cart object

Returns

mixed post id or false

Personal tools
Namespaces
Variants
Actions
iThemes Codex
Codex Navigation
Toolbox