woocommerce_credit_card_form_start

woocommerce_credit_card_form_start

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

do_action('woocommerce_credit_card_form_start') is found 1 times:

  • /includes/gateways/class-wc-payment-gateway-cc.php line 84
    		$fields = wp_parse_args( $fields, apply_filters( 'woocommerce_credit_card_form_fields', $default_fields, $this->id ) );
    		?>
    
    		<fieldset id="wc-<?php echo esc_attr( $this->id ); ?>-cc-form" class='wc-credit-card-form wc-payment-form'>
    			<?php do_action( 'woocommerce_credit_card_form_start', $this->id ); ?>
    			<?php
    			foreach ( $fields as $field ) {
    				echo $field; // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
    			}
    			?>
    			<?php do_action( 'woocommerce_credit_card_form_end', $this->id ); ?>