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

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

This is the default template for the content-login actions loop. *

Contents

Theme Location

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

Action Hooks

Theme API

Currently no api calls for this file.

Default Code

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

<?php do_action( 'it_exchange_content_login_before_actions_loop' ); ?>
<?php foreach ( it_exchange_get_template_part_elements( 'content_login', 'actions', array( 'login-button', 'recover', 'register' ) ) 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-login/elements/' . $action );
	?>
<?php endforeach; ?>
<?php do_action( 'it_exchange_content_login_after_actions_loop' ); ?>

← Back to Exchange Theme Templates Page

Personal tools
Namespaces
Variants
Actions
iThemes Codex
Codex Navigation
Toolbox