woocommerce_pay_order_button_text

woocommerce_pay_order_button_text

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('woocommerce_pay_order_button_text') is found 1 times:

  • /includes/shortcodes/class-wc-shortcode-checkout.php line 211
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    * @param string $text The text of the button.
     *
     * @since 3.0.2
     */
    $order_button_text = apply_filters( 'woocommerce_pay_order_button_text', __( 'Pay for order', 'woocommerce' ) );
     
    /**
     * Triggered right before the Pay for Order form, after validation of the order and customer.
     *
     * @param WC_Order $order              The order that is being paid for.
     * @param string   $order_button_text  The text for the submit button.