Server IP : 162.0.217.223 / Your IP : 216.73.216.150 Web Server : LiteSpeed System : Linux premium269.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : mypckeys ( 1539) PHP Version : 8.1.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/mypckeys/tu-international.com/wp-content/plugins/extendify/src/Assist/tasks/ |
Upload File : |
import { __ } from '@wordpress/i18n'; export default { slug: 'add-pages', title: __('Add page', 'extendify-local'), description: __('Add a new page for your website.', 'extendify-local'), buttonLabels: { completed: __('Add new', 'extendify-local'), notCompleted: __('Add new', 'extendify-local'), }, link: 'post-new.php?post_type=page', type: 'internalLink', dependencies: { goals: [], plugins: [] }, show: ({ plugins, goals, activePlugins, userGoals }) => { if (!plugins.length && !goals.length) return true; return activePlugins .concat(userGoals) .some((item) => plugins.concat(goals).includes(item)); }, backgroundImage: `${window.extSharedData.assetPath}/add-page.png`, };