Title: Minimum User ID
Last modified: October 21, 2020

---

# Minimum User ID

 *  Resolved [ta3ho](https://wordpress.org/support/users/ta3ho/)
 * (@ta3ho)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/minimum-user-id/)
 * I added the following to my function.php file to allow the maximum user ID to
   be 999999
 * add_filter( ‘dfx_random_user_id_max_id’, ‘custom_max_user_id’, 10, 0 );
    function
   custom_max_user_id() { return 99999; }
 * How can I also make the minimum user ID be 10000?
    This way, all user IDs can
   be 5 digits. Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [David Marín Carreño](https://wordpress.org/support/users/davefx/)
 * (@davefx)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/minimum-user-id/#post-13664137)
 * Hi!
 * I just uploaded a new version of the plugin, now including the filter ‘dfx_random_user_id_min_id’
   so you also can customize the minimum generated ID.
 *  Plugin Author [David Marín Carreño](https://wordpress.org/support/users/davefx/)
 * (@davefx)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/minimum-user-id/#post-13666901)
 * Marking as solved

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Minimum User ID’ is closed to new replies.

 * ![](https://ps.w.org/random-user-ids/assets/icon-256x256.png?rev=3489313)
 * [Random User IDs](https://wordpress.org/plugins/random-user-ids/)
 * [Support Threads](https://wordpress.org/support/plugin/random-user-ids/)
 * [Active Topics](https://wordpress.org/support/plugin/random-user-ids/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/random-user-ids/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/random-user-ids/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [David Marín Carreño](https://wordpress.org/support/users/davefx/)
 * Last activity: [5 years, 6 months ago](https://wordpress.org/support/topic/minimum-user-id/#post-13666901)
 * Status: resolved