woocommerce_pay_order_before_submit

woocommerce_pay_order_before_submit

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

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

do_action('woocommerce_pay_order_before_submit') is found 1 times:

  • /templates/checkout/form-pay.php line 100
    096
    097
    098
    099
    100
    101
    102
    103
    104
    105
    106
    <input type="hidden" name="woocommerce_pay" value="1" />
     
    <?php wc_get_template( 'checkout/terms.php' ); ?>
     
    <?php do_action( 'woocommerce_pay_order_before_submit' ); ?>
     
    <?php echo apply_filters( 'woocommerce_pay_order_button_html', '<button type="submit" class="button alt' . esc_attr( wc_wp_theme_get_element_class_name( 'button' ) ? ' ' . wc_wp_theme_get_element_class_name( 'button' ) : '' ) . '" id="place_order" value="' . esc_attr( $order_button_text ) . '" data-value="' . esc_attr( $order_button_text ) . '">' . esc_html( $order_button_text ) . '</button>' ); // @codingStandardsIgnoreLine ?>
     
    <?php do_action( 'woocommerce_pay_order_after_submit' ); ?>
     
    <?php wp_nonce_field( 'woocommerce-pay', 'woocommerce-pay-nonce' ); ?>