Exchange Theme Templates: content-checkout/loops/actions.php

From IThemes Codex
Jump to: navigation, search

This is the default template part for the actions loop in the content-checkout template part.

Contents

Theme Location

theme/exchange/content-checkout/loops/actions.php

Action Hooks

Theme API

Currently no api calls for this file.

Default Code

<?php
/**
 * This is the default template part for the
 * actions loop in the content-checkout
 * template part.
 *
 * @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, copy over this file
 * to the exchange/content-checkout/loops/ directory
 * located in your theme.
*/
?>

<?php do_action( 'it_exchange_content_checkout_before_actions' ); ?>
<div id="it-exchange-cart-actions" class="it-exchange-payment">
<?php do_action( 'it_exchange_content_checkout_before_actions_loop' ); ?>
<?php foreach ( it_exchange_get_template_part_elements( 'content_checkout', 'actions', array( 'transaction-methods', 'cancel' ) ) as $action ) : ?>
		<?php
		/** 
		 * Theme and add-on devs should add code to this loop by 
		 * hooking into it_exchange_get_template_part_elements filter
		 * and adding the appropriate template file to their theme or add-on
		*/
		it_exchange_get_template_part( 'content-checkout/elements/' . $action );
		?>
<?php endforeach; ?>
<?php do_action( 'it_exchange_content_checkout_after_actions_loop' ); ?>
</div>
<?php do_action( 'it_exchange_content_checkout_after_actions' ); ?>

← Back to Exchange Theme Templates Page

Personal tools
Namespaces
Variants
Actions
iThemes Codex
Codex Navigation
Toolbox