---
updatedAt: 2025-05-15T13:34:12.000Z
agentTools:
  projectIndex: https://docs.sequra.com/llms.txt
---

# sequra_platform_options

`Hook` `Filter`

Filter the platform options.

## Description

This filter allows modifying the the platform object to be used to build the the platform attribute present in the Order, OrderUpdate and DeliveryReport API calls payload.

| Parameter   | Type                                                                   | Description       |
| ----------- | :--------------------------------------------------------------------- | ----------------- |
| `$platform` | `\SeQura\Core\BusinessLogic\Domain\Order\Models\OrderRequest\Platform` | Platform instance |

## Changelog

| Version | Description |
| ------- | ----------- |
| 3.0.0   | Introduced  |

## Usage Example

```php
add_filter('sequra_platform_options', function($platform){
  return new \SeQura\Core\BusinessLogic\Domain\Order\Models\OrderRequest\Platform(
    $platform->getName(),
    $platform->getVersion(),
    $platform->getUname(),
    $platform->getDbName(),
    $platform->getDbVersion(),
    $platform->getPluginVersion(),
    $platform->getPhpVersion()
  );
});
```