# sendy/3.4.7/lib/ShippingMethods/StandardDelivery.php

Sendy, version 3.4.7. 35 lines.

- Page: https://pluginprobe.com/plugins/sendy/3.4.7/code/lib/ShippingMethods/StandardDelivery.php
- Raw: https://pluginprobe.com/plugins/sendy/3.4.7/raw/lib/ShippingMethods/StandardDelivery.php
- Modified: 2026-01-13T15:11:00+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/sendy/3.4.7/code/lib/ShippingMethods/StandardDelivery.php#L10-L20`.

```php
<?php

namespace Sendy\WooCommerce\ShippingMethods;

use WC_Shipping_Flat_Rate;

class StandardDelivery extends WC_Shipping_Flat_Rate
{
    use ShippingMethodTrait;

    public const ID = 'sendy_standard_delivery';

    public function __construct($instance_id = 0)
    {
        $this->id = self::ID;
        $this->instance_id = absint($instance_id);
        $this->method_title = __('Sendy - Standard Delivery', 'sendy');
        $this->method_description = __('Standard delivery method', 'sendy');


        $this->supports = [
            'shipping-zones',
            'instance-settings',
            'instance-settings-modal',
        ];

        $this->init();
        $this->init_form_fields();
        $this->init_settings();

        add_filter('woocommerce_shipping_instance_form_fields_' . $this->id, [$this, 'instance_form_fields'], 10, 1);
        add_action('woocommerce_update_options_shipping_' . $this->id, [$this, 'process_admin_options']);
    }
}

```
