Thread Starter
extsol
(@extsol)
here is what i tried:
if ( is_user_logged_in() ) {
$current_user = wp_get_current_user(); // Retrieve the current logged-in user
$account_status = ur_user(‘account_status’, $current_user->ID); // Get the registration status
echo 'Account status: ' . $account_status; // Output the account status for testing
}
-
This reply was modified 1 year, 8 months ago by extsol.