Title: Passing $_GET into a function.
Last modified: August 19, 2016

---

# Passing $_GET into a function.

 *  [bonnerl17](https://wordpress.org/support/users/bonnerl17/)
 * (@bonnerl17)
 * [18 years, 6 months ago](https://wordpress.org/support/topic/passing-_get-into-a-function/)
 * When a function is called from the main wordpress directory, and the function
   is defined in a plugin (in the plugin directory) does the function where it is
   defined have access to any _GET variables that are defined in the url to the 
   page that’s in the main directory or will the _GET variables have to be passed
   as a parameter anytime te function is called?

The topic ‘Passing $_GET into a function.’ is closed to new replies.

 * 0 replies
 * 1 participant
 * Last reply from: [bonnerl17](https://wordpress.org/support/users/bonnerl17/)
 * Last activity: [18 years, 6 months ago](https://wordpress.org/support/topic/passing-_get-into-a-function/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
