function menudashboard() {
if(strpos($_SERVER[‘REQUEST_URI’], ‘/tableau-de-bord’) && (is_user_logged_in()) !== false){echo $menumoncompte;}
elseif(strpos($_SERVER[‘REQUEST_URI’], ‘/tableau-de-bord’) && (!is_user_logged_in()) !== false){echo $menumoncomptedeco;}
}add_shortcode( ‘menudashboard’, ‘menudashboard’);