Exchange Theme Templates: content-cart/elements/empty.php

(Difference between revisions)
Jump to: navigation, search
Line 5: Line 5:
  
 
==Action Hooks==
 
==Action Hooks==
*[[Exchange_Theme_Templates:_content-cart/elements/empty.php.php-it_exchange_content_cart_actions_before_empty_cart|it_exchange_content_cart_actions_before_empty_cart]]
+
*[[Exchange_Theme_Hooks:_it_exchange_content_cart_before_empty_element|it_exchange_content_cart_before_empty_element]]
*[[Exchange_Theme_Templates:_content-cart/elements/empty.php.php-it_exchange_content_cart_actions_after_empty_cart|it_exchange_content_cart_actions_after_empty_cart]]
+
*[[Exchange_Theme_Hooks:_it_exchange_content_cart_after_empty_element|it_exchange_content_cart_after_empty_element]]
  
 
==Theme API==
 
==Theme API==
Line 29: Line 29:
 
?>
 
?>
  
<?php do_action( 'it_exchange_content_cart_actions_before_empty_cart' ); ?>
+
<?php do_action( 'it_exchange_content_cart_before_empty_element' ); ?>
 
<?php it_exchange( 'cart', 'empty' ); ?>
 
<?php it_exchange( 'cart', 'empty' ); ?>
<?php do_action( 'it_exchange_content_cart_actions_after_empty_cart' ); ?></pre>
+
<?php do_action( 'it_exchange_content_cart_after_empty_element' ); ?></pre>
  
 
[[Exchange_Theme_Templates|&larr; Back to Exchange Theme Templates Page]]
 
[[Exchange_Theme_Templates|&larr; Back to Exchange Theme Templates Page]]

Revision as of 13:39, July 25, 2013

This is the default template part for the empty_cart element in the content-cart template part.

Contents

Theme Location

theme/exchange/content-cart/elements/empty.php

Action Hooks

Theme API

Default Code

<?php
/**
 * This is the default template part for the
 * empty_cart element in the content-cart 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-cart/elements/ directory
 * located in your theme.
*/
?>

<?php do_action( 'it_exchange_content_cart_before_empty_element' ); ?>
<?php it_exchange( 'cart', 'empty' ); ?>
<?php do_action( 'it_exchange_content_cart_after_empty_element' ); ?>

← Back to Exchange Theme Templates Page

Personal tools
Namespaces
Variants
Actions
iThemes Codex
Codex Navigation
Toolbox