Exchange Theme Templates: content-downloads/elements/download-hash.php

From IThemes Codex
Revision as of 10:37, August 6, 2013 by Kopepasah (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The default template part for the download's download hash in the content-downloads template part's product loop.

Contents

Theme Location

theme/exchange/content-downloads/elements/download-hash.php

Action Hooks

Theme API

Default Code

<?php
/**
 * The default template part for the download's
 * download hash in the content-downloads
 * template part's product loop.
 *
 * @since 1.1.0
 * @version 1.1.0
 * @package IT_Exchange
 *
 * WARNING: Do not edit this file directly. To use
 * this template in a theme, simply copy this file's
 * content to the exchange/content-downloads/elements
 * directory located in your theme.
*/
?>

<?php do_action( 'it_exchange_content_download_before_download_hash_element' ); ?>
<code class="it-exchange-download-hash">
    <?php it_exchange( 'transaction', 'product-download-hash', array( 'attribute' => 'hash' ) ); ?>
</code>
<?php do_action( 'it_exchange_content_download_after_download_hash_element' ); ?>

← Back to Exchange Theme Templates Page

Personal tools
Namespaces
Variants
Actions
iThemes Codex
Codex Navigation
Toolbox