Filter
rpress_delivery_options_title
On this page
Filters the title of the delivery options popup.
Runs in RP_AJAX::show_delivery_options() and is returned in the html_title key of the response. The default is "Your Order Settings".
Parameters#
| Parameter | Type | Description |
|---|---|---|
$title | string | The default popup title. |
Return value#
string. The popup title.
Example#
function my_delivery_options_title( $title ) {
return __( 'Choose how you want your order', 'my-textdomain' );
}
add_filter( 'rpress_delivery_options_title', 'my_delivery_options_title', 10, 1 );
Source#
Applied in:
includes/class-rpress-ajax.php(line 808), inRP_AJAX::show_delivery_options()
Was this page helpful?
