fc_checkout_login_button_classes
Type: Filter
Filters the CSS classes of the login submit button.
Signature
apply_filters( 'fc_checkout_login_button_classes', $classes );
Parameters
| Name | Type | Description |
|---|---|---|
$classes | string | CSS classes. Default woocommerce-button button. |
Since
4.0.5
Source: templates/fc/checkout-steps/global/form-login.php
Examples
add_filter( 'fc_checkout_login_button_classes',
/**
* Add custom classes to login button.
*
* @param string $classes CSS classes. Default woocommerce-button button.
* @return string Filtered value.
*/
function( $classes ) {
return $classes . ' custom-login-btn';
},
10
);