Title: IXR_Request::getLength
Published: July 6, 2022
Last modified: May 20, 2026

---

# IXR_Request::getLength()

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

## Source

    ```php
    function getLength()
    {
        return strlen($this->xml);
    }
    ```

[View all references](https://developer.wordpress.org/reference/files/wp-includes/ixr/class-ixr-request.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/7.0/src/wp-includes/IXR/class-IXR-request.php#L45)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/IXR/class-IXR-request.php#L45-L48)

## User Contributed Notes

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