Title: POMO_FileReader::read_all
Published: April 25, 2014
Last modified: May 20, 2026

---

# POMO_FileReader::read_all(): string

## In this article

 * [Return](https://developer.wordpress.org/reference/classes/pomo_filereader/read_all/?output_format=md#return)
 * [Source](https://developer.wordpress.org/reference/classes/pomo_filereader/read_all/?output_format=md#source)

[ Back to top](https://developer.wordpress.org/reference/classes/pomo_filereader/read_all/?output_format=md#wp--skip-link--target)

## 󠀁[Return](https://developer.wordpress.org/reference/classes/pomo_filereader/read_all/?output_format=md#return)󠁿

 string

## 󠀁[Source](https://developer.wordpress.org/reference/classes/pomo_filereader/read_all/?output_format=md#source)󠁿

    ```php
    public function read_all() {
    	return stream_get_contents( $this->_f );
    }
    ```

[View all references](https://developer.wordpress.org/reference/files/wp-includes/pomo/streams.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/7.0/src/wp-includes/pomo/streams.php#L228)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/pomo/streams.php#L228-L230)

## User Contributed Notes

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Fclasses%2Fpomo_filereader%2Fread_all%2F)
before being able to contribute a note or feedback.