Exchange/it exchange add transaction

From IThemes Codex
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