How to change the Driver Dashboard endpoint title

26 seconds

By default, the Delivery Drivers for WooCommerce plugin adds a “Driver Dashboard” menu item to the My Account page.

If you would like to change this text to something else, you can use our included filter:


Below is the code snippet you should add to your theme’s functions.php file or in a custom plugin.

* Change "Driver Dashboard" endpoint title
* @return string
function acme_endpoint_title() {
return esc_attr__( 'NEW TITLE HERE', 'acme-lang' );
add_filter( 'ddwc_my_account_menu_item_driver_dashboard', 'acme_endpoint_title' );

Now your dashboard title will show whatever you changed it to. For example:

Was this article helpful?