# wpfunnels/3.13.2/admin/partials/dashboard-nav.php

WPFunnels – Funnel Builder for WooCommerce with Checkout &amp; One Click Upsell, version 3.13.2. 93 lines.

- Page: https://pluginprobe.com/plugins/wpfunnels/3.13.2/code/admin/partials/dashboard-nav.php
- Raw: https://pluginprobe.com/plugins/wpfunnels/3.13.2/raw/admin/partials/dashboard-nav.php
- Modified: 2026-09-24T08:31:46+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/wpfunnels/3.13.2/code/admin/partials/dashboard-nav.php#L10-L20`.

```php
<?php
/**
 * Nav dashboard
 *
 * @package
 */
use WPFunnels\Wpfnl_functions;

/*
 * `route` is for the screens that live in the React admin: they are all one
 * WordPress page with the screen in the hash, so a plain `page` would only
 * reach the dashboard. The entries without one are still their own page.
 */
$nav_menus = apply_filters('wpfnl_dashboard_nav_lists', [
		'dashboard' => [
			'title' => __('Dashboard', 'wpfnl'),
			'icon'  => 'dashboard-icon',
			'page'  => WPFNL_MAIN_PAGE_SLUG,
		],
        'overview' => [
            'title' => __('Funnels', 'wpfnl'),
            'icon'  => 'overview-icon',
            'page'  => WPFNL_MAIN_PAGE_SLUG,
            'route' => '#/funnels',
        ],
        'store_checkout' => [
            'title' => __('Store Checkout', 'wpfnl'),
            'icon'  => 'storewide-checkout-icon',
            'page'  => 'store_checkout',
        ],
        'automations' => [
            'title' => __('Automations', 'wpfnl'),
            'icon'  => 'automations-icon',
            'page'  => WPFNL_AUTOMATIONS_SLUG,
        ],
        'integrations' => [
            'title' => __('Integrations', 'wpfnl'),
            'icon'  => 'settings-icon-2x',
            'page'  => WPFNL_INTEGRATIONS_MAIN_PAGE_SLUG,
        ],
        'templates' => [
            'title' => __('Templates', 'wpfnl'),
            'icon'  => 'templates-icon',
            'page'  => WPFNL_MAIN_PAGE_SLUG,
            'route' => '#/funnel-templates',
        ],
        // 'addons' => [
        //     'title' => __('Add-ons', 'wpfnl'),
        //     'icon'  => 'addons-icon',
        //     'page'  => WPFNL_ADDONS_SLUG,
        // ],
        // Settings is not listed here — it is reached from the gear button in
        // the header action group rendered into #wpfnl-header-actions below.
    ]);
?>

<ul class="wpfnl-dashboard__nav-ul">
    <li class="logo">
        <?php require_once WPFNL_DIR . '/admin/partials/icons/logo.php'; ?>
    </li>

    <?php
        foreach ($nav_menus as $key => $menu) {
            $is_active = Wpfnl_functions::define_active_class($key);
            $active_class = $is_active ? 'active' : '';
            $link = add_query_arg(
                [
                    'page' => $menu['page'],
                ],
                admin_url('admin.php')
            );

            if (!empty($menu['route'])) {
                $link .= $menu['route'];
            }

            if($key === 'create_funnel') $link='#'; ?>

            <li class="wpfnl-dashboard__nav-li <?php echo $key .' '. $active_class; ?>">
                <a id="<?php echo "wpfnl-tab-".$key ?>" href="<?php echo esc_url($link); ?>">
                    <?php echo $menu['title']; ?>
                </a>
            </li>
        <?php
        }
    ?>
</ul>

<!-- Header action group (Knowledge Base, AI Assistant, Settings, Upgrade).
     Rendered by admin/src/global-ai-drawer/HeaderActions.vue so every page
     that includes this nav gets the same right-hand controls. -->
<div id="wpfnl-header-actions" class="wpfnl-dashboard__nav-right"></div>

```
