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
- User-edit role setting distinct from wp_capabilities? [closed]
- Problem with Hebrew characters in username
- Display edit link if post author is current user
- Do not allow users to create new posts and pages
- Admins can’t edit each other’s posts
- Update user_login to change username
- Multiple authors with different “author roles”
- Exclude subscriber users from user list
- How can I check if a user’s email exists in the database
- Exclude admin from user list
- How to display total number of post done by user, it should display at authors page wordpress [duplicate]
- Can i add password field into my wp registration form?
- User capability for editing their own comments
- Allow Contributors to Upload Files
- OAuth 2 and saving the authenticated user
- How to get the count
- What is correct way to change user’s email?
- wp_dropdown_users() to include null value
- Change User Role based on Point System Issue
- Get logged in username in wordpress url
- Remove users access to dashboard
- Allow users to upload flash videos?
- Need to use WordPress page as authentication for different service
- How can I clone a suscriber profile in wordpress
- How can I show a button in WordPress but make it unclickable unless logged in?
- How to display extra fields for user
- How to get only 1 role from user
- User agent stylesheet distorting site [closed]