Smalot\Magento\Catalog\ProductCustomOption::add PHP Method

add() public method

Allows you to add a new custom option for a product.
public add ( string $productId, array $data, string $store = null ) : Smalot\Magento\ActionInterface
$productId string
$data array
$store string
return Smalot\Magento\ActionInterface
    public function add($productId, $data, $store = null)
    {
        return $this->__createAction('product_custom_option.add', func_get_args());
    }