Translate Role’s name
-
for the role to be rendered in the same language as the site, you’ll need to use
translate_user_role
function where you render the options<?php esc_html_e( translate_user_role( $role_data['name'] ) ); ?>
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Translate Role’s name’ is closed to new replies.