Hello, on my website running WooCommerce and X Theme Pro, I want to change the entry title of the My Account page to a greeting based on the logged-in user’s role. Can I do this by adding code to my child theme’s functions.php?
For the customer user role, I want it to say Welcome, Customer!
For the distributor user role, I want it to say Welcome, Distributor!
If not, can I disable the entry title then add in the custom greeting?
Please let me know how this can be done, thank you!