My Tasks

[insert_php]
$current_user = wp_paem_get_current_user();
/**
* @example Safe usage: $current_user = wp_paem_get_current_user();
* if ( !($current_user instanceof wp_paem_User) )
* return;
*/
if ( is_user_logged_in() ) {
echo ‘Welcome to your exercise plan, ‘ . $current_user->user_login . ‘
‘;
} else {
echo ‘Welcome, visitor! To get your very own customized workout plan, please contact Michelle to setup an appointment’;
}

[/insert_php]

[cpm]