Last active
December 2, 2019 20:25
-
-
Save robertdevore/9878d975b5ca7b067b91f27456d18138 to your computer and use it in GitHub Desktop.
Change the "Driver Dashboard" endpoint title for the WooCommerce menu items
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* 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' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment