How to add css to wp_head depending on the user role?
Thanks to the help of two fellow members of this forum I have managed to get the snippet working. Here I leave the solution for any future answer seeker who happens to stop by. add_action( ‘wp_head’, function () { //Get current user ID, if the user is logged in. if ( is_user_logged_in() ) { $user_id … Read more