Hooks Reference #

Postie provides a single hook, allowing you to create your own shipping providers.

registerPostieProvider #

public function registerPostieProviders()
{
    return array(
        new MyFirstShippingProvider(),
        new MySecondShippingProvider(),
    );
}

The hook must return an array of Shipping Provider Classes. See Creating Your Own Shipping Provider for more details.

Get started with Postie

Available for Craft 3. Get it from the plugin store.