Automattic\WooCommerce\Internal\Admin\Settings

PaymentsController::handle_incentive_dismissedpublicWC 1.0

Handle the payments extension suggestion incentive dismissed event.

Method of the class: PaymentsController{}

No Hooks.

Returns

null. Nothing (null).

Usage

$PaymentsController = new PaymentsController();
$PaymentsController->handle_incentive_dismissed(): void;

PaymentsController::handle_incentive_dismissed() code WC 10.8.1

public function handle_incentive_dismissed(): void {
	// Clear the transient to force a new check for providers with an incentive.
	delete_transient( self::TRANSIENT_HAS_PROVIDERS_WITH_INCENTIVE_KEY );
}