define @global

This commit is contained in:
Mike Jolley 2015-01-14 11:32:00 +00:00
parent d70912c891
commit 32f2a44091
1 changed files with 7 additions and 2 deletions

View File

@ -1,9 +1,14 @@
<?php
/**
* Shows an order item fee
*
* @global object $item The item being displayed
* @global int $item_id The id of the item being displayed
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
exit;
}
?>
<tr class="fee <?php echo ( ! empty( $class ) ) ? $class : ''; ?>" data-order_item_id="<?php echo $item_id; ?>">
<td class="check-column"><input type="checkbox" /></td>