Server IP : 162.213.251.212 / Your IP : 18.219.29.183 [ Web Server : LiteSpeed System : Linux business55.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : allssztx ( 535) PHP Version : 8.1.31 Disable Function : NONE Domains : 1 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/allssztx/bestvalleywater.com/wp-content/plugins/extendify/src/Assist/tasks/ |
Upload File : |
import { __ } from '@wordpress/i18n'; const { themeSlug } = window.extSharedData; const { launchCompleted } = window.extAssistData; export default { slug: 'setup-tec', title: __('Set up events', 'extendify-local'), description: __( 'Start adding events to your site by configuring The Events Calendar plugin.', 'extendify-local', ), link: 'edit.php?page=tec-events-settings&post_type=tribe_events&welcome-message-the-events-calendar=1', buttonLabels: { notCompleted: __('Set up', 'extendify-local'), completed: __('Revisit', 'extendify-local'), }, type: 'internalLink', dependencies: { goals: [], plugins: ['the-events-calendar'] }, show: ({ plugins, goals, activePlugins, userGoals }) => { // They need either extendable or launch completed if (themeSlug !== 'extendable' && !launchCompleted) return false; if (!plugins.length && !goals.length) return true; return activePlugins .concat(userGoals) .some((item) => plugins.concat(goals).includes(item)); }, backgroundImage: 'https://assets.extendify.com/assist-tasks/calendar-events.webp', };