I noticed that I can create a blank file in my Wordpress theme,
and use a function I've created in functions.php without including anything.

**How is this possible?**

My function in functions.php (

```
    function getContentFromID($int) {

        $my_id = $int;
        $my_id = get_post($my_id);
        $content = $my_id->post_content;
        $content = apply_filters('the_content', $content);
        $content = str_replace(']]>', ']]>', $content);
        echo $content;
}

```

ONLY content in test.php (and it gets the correct content if i replace `$scrapeID` with e.g. 135)

```
<?php getContentFromID($scrapeID); ?>

```