Title: Function wp() in wp-blog-header.php
Last modified: August 19, 2016

---

# Function wp() in wp-blog-header.php

 *  [scorpil](https://wordpress.org/support/users/scorpil/)
 * (@scorpil)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/function-wp-in-wp-blog-headerphp/)
 * Hello. I have a little question for wordpress developers. Or maybe someone else
   could help me?
 * I’m trying to understand logic of WordPress source code. But there is one problem
   in wp-blog-header.php file. How is it possible that calling function wp() is 
   not causing an error? This function is defined in file ‘./wp-includes/functions.
   php’ and this file was not included before.
 * P.S: sorry for my English. I’m still learning it.

Viewing 1 replies (of 1 total)

 *  Thread Starter [scorpil](https://wordpress.org/support/users/scorpil/)
 * (@scorpil)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/function-wp-in-wp-blog-headerphp/#post-1271765)
 * Last row of wp-settings.php… My mistake.

Viewing 1 replies (of 1 total)

The topic ‘Function wp() in wp-blog-header.php’ is closed to new replies.

## Tags

 * [developing](https://wordpress.org/support/topic-tag/developing/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [source-code](https://wordpress.org/support/topic-tag/source-code/)

 * In: [Everything else WordPress](https://wordpress.org/support/forum/miscellaneous/)
 * 1 reply
 * 1 participant
 * Last reply from: [scorpil](https://wordpress.org/support/users/scorpil/)
 * Last activity: [16 years, 6 months ago](https://wordpress.org/support/topic/function-wp-in-wp-blog-headerphp/#post-1271765)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
