order_review_toggle_texts( string $text = 'show_text' )
Array of order review toggler text.
Description
Parameters
- $text
-
(string) (Optional) array key to get specific value.
Default value: 'show_text'
Return
(string)
Source
File: addons/woocommerce/classes/common-functions.php
function order_review_toggle_texts( $text = 'show_text' ) { $toggle_texts = apply_filters( 'astra_addon_order_review_toggle_texts', array( 'show_text' => esc_html__( 'Show Order Summary', 'astra-addon' ), 'hide_text' => esc_html__( 'Hide Order Summary', 'astra-addon' ), ) ); return $toggle_texts[ $text ]; }
Expand full source code Collapse full source code View on Trac