apply_filters('wpstagerintegration_default_label_order_basket_button', $default_label): string
apply_filters('wpstagerintegration_default_label_order_basket_button', $default_label): stringDescription
Filters the default "basket" button text in the order widget.
The default value is "Back to cart".
Parameters:
| Parameter | Type | Description |
|---|---|---|
$label | string | The button text. |
Returns:
string
Information
| File | order.php line 59 |
|---|
Full Code
/**
* Filters the default "basket" button text in the order widget.
*
* The default value is "Back to cart".
*
* @param string $label The button text.
* @return string
*/
$button_label = (string) apply_filters( 'wpstagerintegration_default_label_order_basket_button', $default_label )💡 If you ever get stuck or have a question, please check our FAQs, our Free Integration Service, our paid Full Integration Service, or reach out to us!

Get WP Stager Integration
🎁 Limited offer: Use code WELCOME26 to get your first month for free!

