WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\Features

Coupons::fix_coupon_menu_highlight() public WC 1.0

Undo WC modifications to $parent_file for 'shop_coupon'

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

No Hooks.

Return

null. Nothing.

Usage

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

Code of Coupons::fix_coupon_menu_highlight() WC 5.3.0

<?php
public function fix_coupon_menu_highlight() {
	global $parent_file, $post_type;

	if ( 'shop_coupon' === $post_type ) {
		$parent_file = 'woocommerce-marketing'; // phpcs:ignore WordPress.WP.GlobalVariablesOverride
	}
}