Gabriel Coppersan

4 POSTS 0 COMMENTS
A transmasculine human who writes, makes YouTube videos and manages a ever growing transmasculine group.
27,982FansLike
59,805FollowersFollow
4,891FollowersFollow
function my_wp_nav_menu_args( $args = '' ) { 02 03 if( is_user_logged_in() ) { 04 $args['menu'] = 'logged-in'; 05 } else { 06 $args['menu'] = 'logged-out'; 07 } 08 return $args; 09 } 10 add_filter( 'wp_nav_menu_args', 'my_wp_nav_menu_args' );