Exchange/it exchange add coupon

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

Description

Adds a coupon post_type to WP

History

Since 0.4.0

Parameters

<?php it_exchange_add_coupon( $args=array(), $cart_object=false ); ?>
  • 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