← Back
Editing: dashboard.js
/** * WordPress dependencies */ import { registerPlugin } from '@wordpress/plugins'; import { setLocaleData } from '@wordpress/i18n'; // Silence warnings until JS i18n is stable. setLocaleData( { '': {} }, 'ithemes-security-pro' ); /** * Internal dependencies */ import App from './dashboard/app.js'; registerPlugin( 'itsec-promos-dashboard', { render() { return <App />; }, } );
Save File
Cancel