WP_HTTP_Polling_Sync_Server::__construct
Constructor.
Method of the class: WP_HTTP_Polling_Sync_Server{}
No Hooks.
Returns
null. Nothing (null).
Usage
$WP_HTTP_Polling_Sync_Server = new WP_HTTP_Polling_Sync_Server(); $WP_HTTP_Polling_Sync_Server->__construct( $storage );
- $storage(WP_Sync_Storage) (required)
- Storage backend for sync updates.
Changelog
| Since 7.0.0 | Introduced. |
WP_HTTP_Polling_Sync_Server::__construct() WP HTTP Polling Sync Server:: construct code WP 7.0
public function __construct( WP_Sync_Storage $storage ) {
$this->storage = $storage;
}