Automattic\WooCommerce\Internal\Admin\Suggestions\Incentives
Incentive::__construct
Constructor.
Method of the class: Incentive{}
No Hooks.
Returns
null. Nothing (null).
Usage
$Incentive = new Incentive(); $Incentive->__construct( $suggestion_id );
- $suggestion_id(string) (required)
- The suggestion ID this incentive provider is for.
Incentive::__construct() Incentive:: construct code WC 10.7.0
public function __construct( string $suggestion_id ) {
$this->suggestion_id = $suggestion_id;
}