Credit card form actions - start and end

This commit is contained in:
Mike Jolley 2013-12-14 12:03:28 +00:00
parent 1343731031
commit 3bd2d0d456
1 changed files with 2 additions and 2 deletions

View File

@ -217,11 +217,11 @@ abstract class WC_Payment_Gateway extends WC_Settings_API {
$fields = wp_parse_args( $fields, apply_filters( 'woocommerce_credit_card_form_fields', $default_fields, $this->id ) );
?>
<fieldset id="<?php echo $this->id; ?>-cc-form">
<?php do_action( 'woocommerce_credit_card_form_before', $this->id ); ?>
<?php do_action( 'woocommerce_credit_card_form_start', $this->id ); ?>
<?php echo $fields['card-number-field']; ?>
<?php echo $fields['card-expiry-field']; ?>
<?php echo $fields['card-cvc-field']; ?>
<?php do_action( 'woocommerce_credit_card_form_before', $this->id ); ?>
<?php do_action( 'woocommerce_credit_card_form_end', $this->id ); ?>
<div class="clear"></div>
</fieldset>
<?php