Skip to content
Docs
Get RestroPress

Filter

rpress_delivery_options_title

Updated
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#

ParameterTypeDescription
$titlestringThe 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), in RP_AJAX::show_delivery_options()
Was this page helpful?