I found it, very simple logic. Don’t specify any id number.
Related Posts:
- Hide everything on site for visitors except specific page IDs
- How to programatically change username (user_login)?
- How to restrict access to uploaded files?
- Allowing users to edit only their page and nobody else’s
- Change the author slug from nickname to ID
- Disallowing Users of a Custom Role from Deleting or Adding Administrators?
- Hide Admin Menu for Specific User ID who has administrator Role
- Allowing an email as the username?
- Check if specific username is logged in
- Post list based on the user that is logged in
- Basic auth WordPress REST API dilemma
- How to change WordPress user ID?
- Copy a user from one WordPress site to another
- Front end user meta options for users
- How to add wordpress username after url?
- How to customize wp_signon()
- Creating a Front-end based User Search
- Can I create users that have access to *some* other users posts instead of all other users posts?
- Set default page for user account in admin
- Share user table from WP with Drupal
- Log all users out of all locations after 24 hours
- Generate unique number when registering a new user
- Managing Users and Creating Groups [closed]
- show text If special user is logged
- Upgrade Nightmare – No Posts, Permissions Issues and Can’t Create a new post
- Redirect user to login before viewing custom post
- How to disable a specific page for a specific user
- Allow user access to Dashboard only!
- Restrict access of admin uploads to certain logged-in users?
- wordpress user roles are not working
- Displaying different in-page content to cliente/admin
- Problem with automatic role change through cron job
- Reset Password policy
- How can I allow an User to publish only 5 posts per month?
- Where are $current_user->allcaps set?
- How to allow registered users to submit the form only 5 times per day?
- create new users in db starting at what ID?
- How can I do a url redirect to include a wordpress username?
- How do you manage your pages or functions that require logged-in users?
- How to get ID of Edit User page during wp_handle_upload_prefilter, whilst in Media picker?
- Allow admins to login as other users
- Can I Create a Second Admin Level User Role?
- Should I setup frontend-only users as CPT or use a plug-in?
- Delete a user from frontend
- Unique password to access a section site
- Echo a list of all subscriber’s user IDs
- One Click Access To Users Account In WordPress?
- Using my own user table
- WordPress user role with create user capability?
- Update user role for expired membership
- Append USER ID to an outbound link?
- Safely changing UserID’s, re-using deleted UserID’s and automatically using deleted userID’s instead of an increment
- Custom User Role: Can Edit Own Page, Cannot Create New
- Change user URL
- WordPress install checking permissions of user id 0
- throttle/limit a logged in user’s http requests to specific page on a per day basis
- Allowing users to edit only their page and nobody else’s
- How to bulk change user role to “No role for this site”
- Restrict Access to the User Profile
- post acces for guests / unregistered users only
- Username has been exposed
- Front end login and page restriction
- view and update form only for registered users
- Control Category of each user can post
- Limit user access to installing/configuring a plugin?
- determine active user browser at the same time
- MySQL query to list users who never signed in
- Set a minimal number for next user_id
- Wordpres password as plain text in email
- Can I provide a user’s user_ID to them and can it also be searchable in a member’s directory
- Multisite Login Access Restrictions
- WordPress password as plain text in email
- (How) does WordPress protect direct access of user data?
- How to remove/limit Editor accounts privileges, to prevent them from deleting media and pages created by Admin
- How do I display logged-in username IF logged-in?
- How to set up User email verification after Signup?
- Allow up to 5 Concurrent Login Sessions
- Show admin bar only for some USERS roles
- How can I get users email (and additional data) from the rest API?
- How to hide “Filter user list” from “All Users” screen
- How to create a template for a custom URI associated with the user
- How to manually activate user in dashboard only by admin
- How to check user role without using current_user_can()
- Add user capability and check against it
- How do i auto approve new user?
- BuddyPress | Check if user is in current group [closed]
- Pre-populate Username Field
- Querying Email Addresses for a List of Users with Same Last Name?
- Get all commenters on a post
- Adding tags and inputs to a user’s profile
- Custom style on profile options page
- Best way to have an per-user customized private section
- Does wp_delete_user() remove all user content?
- Max no of simultaneous active sessions for a single user
- Favorite taxonomy archive page?
- Removing all trace of member profiles
- WordPress API for search
- Are there mutiple ways to get usernames (as a hacker)
- Rest api return all users (even without content) to all users
- Column Sorting Code on users.php