Filter
rpress_checkout_order_details_text
On this page
Filters the legend text of the checkout order details section.
Runs in rpress_order_details_fields() for the legend of the order details fieldset. The default is the service label followed by "details", for example the label of the selected service type. The value is escaped on output.
Parameters#
| Parameter | Type | Description |
|---|---|---|
$value | string | The default legend text. |
Return value#
string. The legend text.
Example#
function my_order_details_text( $text ) {
return __( 'Where should we bring it?', 'my-textdomain' );
}
add_filter( 'rpress_checkout_order_details_text', 'my_order_details_text', 10, 1 );
Source#
Applied in:
includes/checkout/template.php(line 372), inrpress_order_details_fields()
See also#
Was this page helpful?
