__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
import { createElement, Component, useContext } from '@wordpress/element'
import { sprintf, __ } from 'ct-i18n'
import { Link } from '@reach/router'
import ctEvents from 'ct-events'
const Navigation = () => {
const userNavigationLinks = []
const endUserNavigationLinks = []
ctEvents.trigger('ct:dashboard:navigation-links', userNavigationLinks)
ctEvents.trigger(
'ct:dashboard:end-navigation-links',
endUserNavigationLinks
)
let hasPlugins = !ctDashboardLocalizations.plugin_data.hide_plugins_tab
return (
<ul className="dashboard-navigation">
<li>
<Link to="/">{__('Home', 'blocksy')}</Link>
</li>
{userNavigationLinks.map(({ path, text, ...props }) => (
<li key={path}>
<Link to={path} {...props}>
{text}
</Link>
</li>
))}
{!ctDashboardLocalizations.plugin_data.hide_plugins_tab && (
<li>
<Link to="/plugins">{__('Useful Plugins', 'blocksy')}</Link>
</li>
)}
{!ctDashboardLocalizations.plugin_data.hide_changelogs_tab && (
<li>
<Link to="/changelog">{__('Changelog', 'blocksy')}</Link>
</li>
)}
{endUserNavigationLinks.map(({ path, text, ...props }) => (
<li key={path}>
<Link to={path} {...props}>
{text}
</Link>
</li>
))}
</ul>
)
}
export default Navigation
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| components | Folder | 0750 |
|
|
| screens | Folder | 0750 |
|
|
| Dashboard.js | File | 3.55 KB | 0640 |
|
| Heading.js | File | 1.55 KB | 0640 |
|
| Navigation.js | File | 1.26 KB | 0640 |
|
| context.js | File | 333 B | 0640 |
|
| main.js | File | 363 B | 0640 |
|
| window-hash-source.js | File | 595 B | 0640 |
|