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

From IThemes Codex
Revision as of 11:50, July 26, 2013 by Kopepasah (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

Contents

Theme Location

theme/exchange/content-registration/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-registration
 * 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-registration/loops/
 * directory located in your theme.
*/
?>

<?php do_action( 'it_exchange_content_registration_before_actions_loop' ); ?>
	<div class="it-exchange-customer-actions">
	<?php do_action( 'it_exchange_content_registration_begin_actions_loop' ); ?>
		<?php foreach ( it_exchange_get_template_part_elements( 'content_registration', 'actions', array( 'save', 'login' ) ) 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-registration/elements/' . $action );
			?>
		<?php endforeach; ?>
   	<?php do_action( 'it_exchange_content_registration_end_actions_loop' ); ?>
	</div>
<?php do_action( 'it_exchange_content_registration_after_actions_loop' ); ?>

← Back to Exchange Theme Templates Page

Personal tools
Namespaces
Variants
Actions
iThemes Codex
Codex Navigation
Toolbox