Title: username_exists function &#8212; plugin development
Last modified: August 18, 2016

---

# username_exists function — plugin development

 *  [nologo](https://wordpress.org/support/users/nologo/)
 * (@nologo)
 * [18 years, 10 months ago](https://wordpress.org/support/topic/username_exists-function-plugin-development/)
 * Greetings! Do I need to “require” registration.php to be able to call username_exists().
   I’m completely new to this (and I haven’t run across any really good plugin development
   sites, posts, or even discussions — just the basics), and I’m modifying an LDAP
   plugin for anonymous access. I get errors regarding this function, and I can 
   certainly get them to disappear by using a require statement, but that seems 
   to go against the logic of WordPress plugin development. A nice informative answer
   by someone regarding how inbuilt functions are accessed would be really cool.
   Thanks!

Viewing 1 replies (of 1 total)

 *  [whooami](https://wordpress.org/support/users/whooami/)
 * (@whooami)
 * [18 years, 10 months ago](https://wordpress.org/support/topic/username_exists-function-plugin-development/#post-601441)
 * you should not have to use ANY includes if your building a plugin thats going
   to use a wp function, no. You might need to declare some globals, but no, no 
   included are necessary

Viewing 1 replies (of 1 total)

The topic ‘username_exists function — plugin development’ is closed to new replies.

 * 1 reply
 * 2 participants
 * Last reply from: [whooami](https://wordpress.org/support/users/whooami/)
 * Last activity: [18 years, 10 months ago](https://wordpress.org/support/topic/username_exists-function-plugin-development/#post-601441)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
