feat: integrate contextual links and fix coupons navigation
- Added DocLink component and mapped routes - Fixed Coupons nav link to /marketing/coupons - Updated Settings pages to show inline documentation links
This commit is contained in:
@@ -15,7 +15,7 @@ if (! defined('ABSPATH')) exit;
|
||||
class NavigationRegistry
|
||||
{
|
||||
const NAV_OPTION = 'wnw_nav_tree';
|
||||
const NAV_VERSION = '1.3.0'; // Added Subscriptions section
|
||||
const NAV_VERSION = '1.3.1'; // Updated Coupons link
|
||||
|
||||
/**
|
||||
* Initialize hooks
|
||||
@@ -222,7 +222,7 @@ class NavigationRegistry
|
||||
}
|
||||
|
||||
// Coupons - always available
|
||||
$children[] = ['label' => __('Coupons', 'woonoow'), 'mode' => 'spa', 'path' => '/coupons'];
|
||||
$children[] = ['label' => __('Coupons', 'woonoow'), 'mode' => 'spa', 'path' => '/marketing/coupons'];
|
||||
|
||||
return $children;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user