Added template docs for order-again.php

This commit is contained in:
claudiosmweb 2014-11-12 14:17:53 -02:00
parent a1c04670bc
commit c4ae4e6931
4 changed files with 23 additions and 9 deletions

View File

@ -2,9 +2,9 @@
/**
* Order tracking form
*
* @author WooThemes
* @package WooCommerce/Templates
* @version 1.6.4
* @author WooThemes
* @package WooCommerce/Templates
* @version 1.6.4
*/
if ( ! defined( 'ABSPATH' ) ) {

View File

@ -1,3 +1,17 @@
<?php
/**
* Order again button
*
* @author WooThemes
* @package WooCommerce/Templates
* @version 2.3.0
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
?>
<p class="order-again">
<a href="<?php echo wp_nonce_url( add_query_arg( 'order_again', $order->id ) , 'woocommerce-order_again' ); ?>" class="button"><?php _e( 'Order Again', 'woocommerce' ); ?></a>
</p>

View File

@ -2,9 +2,9 @@
/**
* Order details
*
* @author WooThemes
* @package WooCommerce/Templates
* @version 2.2.0
* @author WooThemes
* @package WooCommerce/Templates
* @version 2.2.0
*/
if ( ! defined( 'ABSPATH' ) ) {

View File

@ -2,9 +2,9 @@
/**
* Order tracking
*
* @author WooThemes
* @package WooCommerce/Templates
* @version 2.2.0
* @author WooThemes
* @package WooCommerce/Templates
* @version 2.2.0
*/
if ( ! defined( 'ABSPATH' ) ) {