Automattic\WooCommerce\Internal\Admin\Suggestions\Incentives
Incentive::__construct()
Constructor.
Method of the class: Incentive{}
No Hooks.
Return
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 9.6.1
public function __construct( string $suggestion_id ) { $this->suggestion_id = $suggestion_id; }