Skip to main content

fc_pro_cart_button_class_proceed_checkout

Type: Filter

Filters the cart button class proceed checkout.

Signature​

apply_filters( 'fc_pro_cart_button_class_proceed_checkout', $value );

Parameters​

NameTypeDescription
$valuestringFiltered value. Default 'button alt wc-forward'.

Since​

  • 1.5.3

Source: templates/fc-pro/cart/cart/proceed-to-checkout-button.php

Examples​

add_filter( 'fc_pro_cart_button_class_proceed_checkout',
/**
* Customize proceed to checkout button classes.
*
* @param string $value Filtered value. Default 'button alt wc-forward'.
* @return string Filtered value.
*/
function( $value ) {
return 'button alt wc-forward custom-class';
},
10
);