Categoría: BRICKS FREE USERS QUERY
-
Comma-separated user role names in Bricks
Looking to display comma-separated names of user roles for the current user (in the loop) in a Bricks site? Here’s how. Step 1 Add the following in child theme‘s functions.php or a code snippets plugin: // Function to output comma-separated names of user roles for the current user in the loop function bl_get_user_roles_names():string { //…