Exchange/it exchange get download expiration date from settings

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

Convert 5 months or 30 days to date from transaction

History

Since 0.4.0

Parameters

<?php it_exchange_get_download_expiration_date_from_settings( $hash_data, $purchase_date, $date_format=false ); ?>
  • array $hash_data from download hash
  • string $purchase_date post_date from transaction post_type
  • string $date_foramt optional. the format to display the date in.

Returns

string

Personal tools
Namespaces
Variants
Actions
iThemes Codex
Codex Navigation
Toolbox