Title: WP_HTTP_Polling_Sync_Server::__construct
Published: May 20, 2026

---

# WP_HTTP_Polling_Sync_Server::__construct( WP_Sync_Storage $storage )

## In this article

 * [Parameters](https://developer.wordpress.org/reference/classes/wp_http_polling_sync_server/__construct/?output_format=md#parameters)
 * [Source](https://developer.wordpress.org/reference/classes/wp_http_polling_sync_server/__construct/?output_format=md#source)
 * [Changelog](https://developer.wordpress.org/reference/classes/wp_http_polling_sync_server/__construct/?output_format=md#changelog)

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

Constructor.

## 󠀁[Parameters](https://developer.wordpress.org/reference/classes/wp_http_polling_sync_server/__construct/?output_format=md#parameters)󠁿

 `$storage`WP_Sync_Storagerequired

Storage backend for sync updates.

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

    ```php
    public function __construct( WP_Sync_Storage $storage ) {
    	$this->storage = $storage;
    }
    ```

[View all references](https://developer.wordpress.org/reference/files/wp-includes/collaboration/class-wp-http-polling-sync-server.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/7.0/src/wp-includes/collaboration/class-wp-http-polling-sync-server.php#L110)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/collaboration/class-wp-http-polling-sync-server.php#L110-L112)

## 󠀁[Changelog](https://developer.wordpress.org/reference/classes/wp_http_polling_sync_server/__construct/?output_format=md#changelog)󠁿

| Version | Description | 
| [7.0.0](https://developer.wordpress.org/reference/since/7.0.0/) | Introduced. |

## User Contributed Notes

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