Title: Basic Plugin Question
Last modified: August 19, 2016

---

# Basic Plugin Question

 *  [jessedrelick](https://wordpress.org/support/users/jessedrelick/)
 * (@jessedrelick)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/basic-plugin-question-1/)
 * Hello!
 * I am developing a WordPress plugin, and I am curious if I can use functions without
   Actions or Filters?
 * The reason I am asking is because I have added a button to a custom plugin page
   within the admin that uploads a CSV file.
 * When I click the button, it uses PHP_SELF to post the information back to the
   same page, and uses isset() to see if the data is available.
 * If it is available, I have a custom function that runs and uses:
 * wp_create_user()
 * However, it is giving me the error:
 * Fatal error: Call to undefined function wp_hash_password()
 * It is obvious this function does not exist in the wp-includes/registration.php
   file I loaded with require_once() in order to use wp_create_user()
 * It seems like wp_hash_password() is in a different file, and because I am not
   using a WordPress Action or Filter it is bypassing the loading stage for this
   file.
 * Is my thinking correct?

Viewing 1 replies (of 1 total)

 *  [Milan Dinić](https://wordpress.org/support/users/dimadin/)
 * (@dimadin)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/basic-plugin-question-1/#post-1603743)
 * wp_hash_password is [defined](http://codex.wordpress.org/Function_Reference/wp_hash_password#Source_File)
   at wp-includes/pluggable.php. You haven’t used search.

Viewing 1 replies (of 1 total)

The topic ‘Basic Plugin Question’ is closed to new replies.

 * 1 reply
 * 2 participants
 * Last reply from: [Milan Dinić](https://wordpress.org/support/users/dimadin/)
 * Last activity: [15 years, 8 months ago](https://wordpress.org/support/topic/basic-plugin-question-1/#post-1603743)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
