PHP Classes

File: templates/myaccount/tracking-code.php

Recommend this page to a friend!
  Classes of Julio Cezar Kronbauer  >  PHP WooCommerce Correios  >  templates/myaccount/tracking-code.php  >  Download  
File: templates/myaccount/tracking-code.php
Role: Auxiliary script
Content type: text/plain
Description: Sample output
Class: PHP WooCommerce Correios
Woocommerce plugin for shipping via Correios
Author: By
Last change: Fixed coding standards issues
Date: 5 years ago
Size: 573 bytes
 

Contents

Class file image Download
<?php
/**
 * Tracking code.
 *
 * @author Claudio_Sanches
 * @package WooCommerce_Correios/Templates
 * @version 2.2.0
 */

if ( ! defined( 'ABSPATH' ) ) {
    exit;
}
?>

<div id="wc-correios-tracking" class="woocommerce-info">
    <strong><?php esc_html_e( 'Correios', 'woocommerce-correios' ); ?>:</strong> <?php esc_html_e( 'Your the tracking code:', 'woocommerce-correios' ); ?> <a href="http://websro.correios.com.br/sro_bin/txect01$.QueryList?P_LINGUA=001&P_TIPO=001&P_COD_UNI=<?php echo esc_attr( $code ); ?>" target="_blank"><?php echo esc_html( $code ) ?></a>.
</div>

For more information send a message to info at phpclasses dot org.