Exchange/it exchange add coupon

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