Product_Sample implements Registerable, Premium_Service

WooCommerce Product Table integration.

Tags
author

Barn2 Plugins support@barn2.com

license

GPL-3.0

copyright

Barn2 Media Ltd

Interfaces, Classes and Traits

Registerable
Premium_Service

Table of Contents

maybe_allow_sample_backorder()  : bool
Allow backorders for sample products when setting is enabled.
register()  : mixed
{@inheritdoc}

Methods

maybe_allow_sample_backorder()

Allow backorders for sample products when setting is enabled.

public maybe_allow_sample_backorder(bool $backorders_allowed, int $product_id, WC_Product $product) : bool
Parameters
$backorders_allowed : bool
$product_id : int
$product : WC_Product
Tags
Return values
bool

register()

{@inheritdoc}

public register() : mixed
Tags
Return values
mixed

Search results