Difference between revisions of "Exchange Theme Templates: super-widget-registration/elements/cancel.php"

From IThemes Codex
Jump to: navigation, search
(Created page with "This is the default template part for the cancel element in the super-widget-registration template part. ==Theme Location== theme/exchange/super-widget-registration/elements...")
 
 
Line 9: Line 9:
  
 
==Theme API==
 
==Theme API==
*[[Exchange_Theme_API:_registration|it_exchange( 'registration', 'cancel', array( 'label' => __( 'Log in', 'LION' ) ) )]]
+
*[[Exchange_Theme_API:_registration_(cancel)|it_exchange( 'registration', 'cancel' )]]
  
 
==Default Code==
 
==Default Code==

Latest revision as of 17:38, August 14, 2013

This is the default template part for the cancel element in the super-widget-registration template part.

Theme Location

theme/exchange/super-widget-registration/elements/cancel.php

Action Hooks

Theme API

Default Code

<?php
/**
 * This is the default template part for the
 * cancel element in the super-widget-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/super-widget-registration/elements/
 * directory located in your theme.
*/
?>

<?php do_action( 'it_exchange_super_widget_registration_before_cancel_elements' ); ?>
<div class="cancel_url">
    <?php it_exchange( 'registration', 'cancel', array( 'label' => __( 'Log in', 'LION' ) ) ); ?>
</div>
<?php do_action( 'it_exchange_super_widget_registrationafter_cancel_elements' ); ?>

← Back to Exchange Theme Templates Page