WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\Features

Coupons::coupon_menu_moved() public WC 1.0

Call back for transition menu item

{} It's a method of the class: Coupons{}

No Hooks.

Return

null. Nothing.

Usage

$Coupons = new Coupons();
$Coupons->coupon_menu_moved();

Code of Coupons::coupon_menu_moved() WC 5.3.0

<?php
public function coupon_menu_moved() {
	wp_safe_redirect( $this->get_legacy_coupon_url(), 301 );
	exit();
}