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 month, 3 weeks ago by extsol.